Example #1
0
 public UserRepository(GameStoreContext context)
     : base(context)
 {
 }
Example #2
0
 public UnitOfWork(GameStoreContext context)
 {
     this.Context = context;
 }
Example #3
0
 public GeneroRepository(GameStoreContext context)
 {
     _context = context;
 }
Example #4
0
 protected AbstractRepository(GameStoreContext context)
 {
     this.Context = context;
     this.DbSet   = context.Set <T>();
 }
Example #5
0
 public GameRepository(GameStoreContext db) : base(db)
 {
     _db = db;
 }
 public GameService()
 {
     this.context = new GameStoreContext();
 }
 public JogoRepository(GameStoreContext context)
 {
     _context = context;
 }
 public ProfileController(GameStoreContext context)
 {
     _context = context;
 }
Example #9
0
 public OrdersController(GameStoreContext context)
 {
     _context = context;
 }
 public GetGamesController(GameStoreContext context)
 {
     db = context;
 }
Example #11
0
 public GameRepository(GameStoreContext gameStoreContext)
 {
     this.gameStoreContext = gameStoreContext;
 }
Example #12
0
 public GamesController(GameStoreContext context)
 {
     _context = context;
 }
 public CommentService(GameStoreContext storeContext)
 {
     this.storeContext = storeContext ?? throw new ArgumentNullException(nameof(storeContext));
 }
Example #14
0
 public UnitOfWork(GameStoreContext context, NORTHWNDContext nwndContext)
 {
     _context     = context;
     _nwndContext = nwndContext;
     AutomapperConfig.ConfigurationMapper();
 }
 public CartController(GameStoreContext context)
 {
     _context = context;
 }
Example #16
0
 public GameRepository(GameStoreContext context)
 {
     this._context = context;
 }
Example #17
0
 public UnitOfWork(GameStoreContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #18
0
 public CommonRepository(GameStoreContext db)
 {
     _sqlRepository   = new SQLRepository <T>(db);
     _logging         = new MongoRepository <Logging>();
     _mongoRepository = new MongoRepository <TD>();
 }
Example #19
0
 public CreditCardController(GameStoreContext context)
 {
     _context = context;
 }
 public GameController(GameStoreContext context)
 {
     _context = context;
     util     = new UtilityClasses.Utilities(context);
 }
Example #21
0
 public ValuesController(GameStoreContext db)
 {
     _db = db;
 }
 public ShoppingCartsService(GameStoreContext storeContext)
 {
     this.storeContext = storeContext ?? throw new ArgumentNullException(nameof(storeContext));
 }
Example #23
0
 public TiendasController(GameStoreContext context)
 {
     _context = context;
 }
Example #24
0
 public OrderRepository(GameStoreContext db)
 {
     _db = db;
 }
Example #25
0
 public void ExceptionIfNullGameRepository()
 {
     GameStoreContext         context = null;
     GenericRepository <Game> repo    = new GenericRepository <Game>(context);
 }
Example #26
0
 public GameDataService(GameStoreContext gameStoreContext)
     : base(gameStoreContext)
 {
 }
Example #27
0
 public ConsolasController(GameStoreContext context)
 {
     _context = context;
 }
Example #28
0
 public RegistrationController(GameStoreContext context)
 {
     db = context;
 }
Example #29
0
 public JuegosController(GameStoreContext context)
 {
     _context = context;
 }
Example #30
0
 public UnitOfWork(GameStoreContext db)
 {
     _db = db;
 }