Пример #1
0
 public static PatientInformationViewModel ToPatientInformationViewModel(this LocalPatient localPatient, PersonalInfoScreenViewModel parent)
 {
     return(new PatientInformationViewModel(parent)
     {
         Name = localPatient.Name,
         Surname = localPatient.Surname,
         BirthDate = localPatient.BirthDate,
         Email = localPatient.Email,
         Phone = localPatient.Phone,
         Street = localPatient.Street,
         Number = localPatient.StreetNumber,
         Bloc = localPatient.Block,
         Country = localPatient.Country,
         Job = localPatient.Job,
         Ocupation = localPatient.Ocupation,
         City = localPatient.City,
     });
 }
Пример #2
0
 public PatientInformationViewModel(PersonalInfoScreenViewModel parent)
 {
     Parent = parent;
 }