Пример #1
0
 public Repository(ZeusContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TEntity>();
 }
Пример #2
0
 public UnitOfWork(ZeusContext context, IMediator mediator)
 {
     _context  = context;
     _mediator = mediator;
 }