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