Пример #1
0
 public PeopleService(IPeopleDbContext peopleDbContext)
 {
     if (peopleDbContext == null)
     {
         throw new ArgumentNullException("peopleDbContext");
     }
     _peopleDbContext = peopleDbContext;
 }
 public PeopleService(IPeopleDbContext peopleDbContext)
 {
     if (peopleDbContext == null) 
         throw new ArgumentNullException("peopleDbContext");
     _peopleDbContext = peopleDbContext;
 }