public DecksController()
        {
            SolveOrDrinkItEntities db = new SolveOrDrinkItEntities();

            repo     = new DeckRepository(db);
            taskRepo = new TaskRepository(db);
        }
Ejemplo n.º 2
0
        public GameHub()
        {
            SolveOrDrinkItEntities solveOrDrinkItEntities = new SolveOrDrinkItEntities();

            repo      = new GameRepository(solveOrDrinkItEntities);
            scoreRepo = new ScoreRepository(solveOrDrinkItEntities);
        }
        public GamesController()
        {
            SolveOrDrinkItEntities db = new SolveOrDrinkItEntities();

            repo     = new GameRepository(db);
            deckRepo = new DeckRepository(db);
        }
Ejemplo n.º 4
0
 public ScoreRepository(SolveOrDrinkItEntities context)
     : base(context)
 {
 }
Ejemplo n.º 5
0
 public Repository(SolveOrDrinkItEntities context)
 {
     Context = context;
 }