예제 #1
0
 public EditPerson(int id, Person person)
 {
     Id = id;
     this.CreatePerson = new CreatePersonViewModel()
     {
         Name = person.Name, CityId = person.InCityId, Phone = person.Phone
     };
 }
 public PeopleViewModel()
 {
     CreatePersonViewModel = new CreatePersonViewModel();
     PeopleList            = new List <Person>();
 }
예제 #3
0
 public EditPerson(int id, CreatePersonViewModel createPerson)
 {
     Id = id;
     this.CreatePerson = createPerson;
 }