Ejemplo n.º 1
0
 public UnitOfWork(GoingOutContext context)
 {
     _context = context;
 }
Ejemplo n.º 2
0
 public GenericRepository(GoingOutContext context)
 {
     _context = context;
     dbSet    = context.Set <TEntity>();
 }
Ejemplo n.º 3
0
 public GroupsController(GoingOutContext context)
 {
     _groupServices = new GroupsService(context);
 }
Ejemplo n.º 4
0
 public GroupsService(GoingOutContext context)
 {
     _unitOfWork = new UnitOfWork(context);
 }
Ejemplo n.º 5
0
 public UsersController(GoingOutContext context)
 {
     _userServices  = new UsersService(context);
     _groupServices = new GroupsService(context);
 }