private static PatientInfo GetPat2() { var pat2 = new PatientInfo(); pat2.PersonalIdentity = new Identity { IdentityNumber = "778899", IdentityType = IdentityType.Pesel }; pat2.FirstName = "brad"; pat2.LastName = "pitt"; return pat2; }
private static PatientInfo Getpat1() { var pat1 = new PatientInfo(); pat1.ExternalId = "2345oo"; pat1.PersonalIdentity = new Identity { IdentityNumber = "1234", IdentityType = IdentityType.General }; pat1.FirstName = "Emily"; pat1.LastName = "Rrr"; pat1.Sex = Sex.Female; pat1.BirthDate = DateTime.Now; return pat1; }
public void AddNewPatient(PatientInfo patient) { SaveOrUpdate(patient); }
public void AddNewPatient(PatientInfo patient) { //logika _patientsDal.AddNewPatient(patient); }