package com.example.medweb.service; import com.example.medweb.model.Pacient; import com.example.medweb.model.Upat; import java.util.List; import java.util.Optional; public interface UpatService { Optional findById (Integer id); List findAllByPacient (Pacient pacient); Optional selectedUpat (Integer upat_id); }