public MatchDayRepository(HandicapContext context, ILogger <MatchDayRepository> logger) { _context = context; _logger = logger; _matchDays = context.Set <MatchDay>(); }
public GameRepository(HandicapContext context) { _context = context; _games = context.Set <Game>(); _players = context.Set <Player>(); }
public PlayerRepository(HandicapContext context) { _context = context; _players = context.Set <Player>(); }
public HandicapConfigurationRepository(HandicapContext context) { _context = context; _configs = _context.Set <HandicapConfiguration>(); }