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