public void UpdatePhysician(ref Physician p) { p.FirstName = FirstName; p.LastName = LastName; p.DateOfBirth = DateOfBirth.GetValueOrDefault(); p.Email = Email; p.Sex = Sex.GetValueOrDefault(); p.Specialization = Specialization.GetValueOrDefault(); }
public void UpdatePatient(ref Patient p) { p.FirstName = FirstName; p.LastName = LastName; p.DateOfBirth = DateOfBirth.GetValueOrDefault(); p.Email = Email; p.Sex = Sex.GetValueOrDefault(); p.IllnessHistory = IllnessHistory; p.RecommendedDrugs = RecommendedDrugs; }