Пример #1
0
 private GroomModel()
 {
     service = new PersonService(new Nuptial.Data.Repository.PersonRepository(context));
     groom   = service.GetPerson(Data.EnumGroomBride.Groom);
 }
Пример #2
0
 private BrideModel()
 {
     service = new PersonService(new Nuptial.Data.Repository.PersonRepository(context));
     bride   = service.GetPerson(Data.EnumGroomBride.Bride);
 }