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