Exemplo n.º 1
0
 public VMPersonEdit(PersonsModel person, List <CodesModel> PersonTypes, List <CodesModel> CommTypes, List <PersonsCommunicationModel> PersonCommunications)
 {
     //SystemValues.CommTypes = CommTypes;
     PersonTypeSource.ReFill(PersonTypes);
     EditedPerson = person;
     PresentPerson(person);
     CommunicationCodeSource.ReFill(CommTypes);
     foreach (var item in PersonCommunications)
     {
         CommunicationSource.Add((item, CommTypes));
     }
     //CommunicationSource.ReFill(PersonCommunications);
 }
Exemplo n.º 2
0
 public VMPersonAdd(List <CodesModel> PersonTypes, List <CodesModel> CommTypes)
 {
     PersonTypeSource.ReFill(PersonTypes);
     CommunicationCodeSource.ReFill(CommTypes);
 }