public Patient GetById(int id) { var db = new PatientData(); return(db.GetById(id)); }
public PatientModel GetbyId(int id) { PatientData data = new PatientData(); return(data.GetById(id)); }