private Patient CreatePatient() { return(new Patient { PatientId = PatientId, FirstName = FirstName, LastName = LastName, FullName = LastName + " " + FirstName, PESEL = PESEL, Age = CountAgeHelper.CountAge(PESEL), Gender = Gender }); }
private Guest CreateGuest() { return(new Guest { GuestId = GuestId, FirstName = FirstName, LastName = LastName, FullName = LastName + " " + FirstName, PESEL = PESEL, Age = CountAgeHelper.CountAge(PESEL), Gender = Gender }); }