예제 #1
0
 public Games3Controller(GameStore2Context context)
 {
     _context   = context;
     unitOfWork = new UnitOfWork(_context);
 }
예제 #2
0
 public GameRepository(GameStore2Context context) : base(context)
 {
 }
예제 #3
0
 public CartsController(GameStore2Context context)
 {
     _context = context;
 }
 public GenericRepository(GameStore2Context context)
 {
     this.context = context;
 }
예제 #5
0
 public UnitOfWork(GameStore2Context context)
 {
     this.context = context;
     Games        = new GameRepository(context);
 }
예제 #6
0
 public Games2Controller(GameStore2Context context)
 {
     _context            = context;
     this.gameRepository = new GameRepository(_context);
 }