Esempio n. 1
0
        public MatchDayRepository(HandicapContext context,
                                  ILogger <MatchDayRepository> logger)
        {
            _context = context;
            _logger  = logger;

            _matchDays = context.Set <MatchDay>();
        }
Esempio n. 2
0
 public GameRepository(HandicapContext context)
 {
     _context = context;
     _games   = context.Set <Game>();
     _players = context.Set <Player>();
 }
Esempio n. 3
0
 public PlayerRepository(HandicapContext context)
 {
     _context = context;
     _players = context.Set <Player>();
 }
Esempio n. 4
0
 public HandicapConfigurationRepository(HandicapContext context)
 {
     _context = context;
     _configs = _context.Set <HandicapConfiguration>();
 }