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); }
public VMPersonAdd(List <CodesModel> PersonTypes, List <CodesModel> CommTypes) { PersonTypeSource.ReFill(PersonTypes); CommunicationCodeSource.ReFill(CommTypes); }