Пример #1
0
 public GenericRepository(HomeApplyContext context)
 {
     if (context == null)
     {
         throw new ArgumentNullException(nameof(context), $"The parameter dbContext can not be null");
     }
     _context = context;
 }
Пример #2
0
 public UnitOfWork(HomeApplyContext context)
 {
     this.context = context;
 }