public GamesController(PokerHandsContext context) { _context = context; }
/// <summary> /// Initializes a new instance of the <see cref="PokerHandsRepository"/> class. /// </summary> /// <param name="context">The context.</param> /// <exception cref="ArgumentNullException">context</exception> public PokerHandsRepository(PokerHandsContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }