public GamesService(IGamesContext context, IMapper mapper) { _context = context; _mapper = mapper; _gameRepo = new GameRepository(context); _eventRepo = new EventRepository(context); }
public GetGameByIdQueryHandler(IGamesContext context, ILogger <GetGameByIdQueryHandler> logger, IMapper mapper, IGamesService gamesService) { _context = context; _logger = logger; _mapper = mapper; _gamesService = gamesService; }
public EditGameCommandHandler( IGamesContext context, IGamesService gamesService, ILogger <EditGameCommandHandler> logger) { _context = context; _gamesService = gamesService; _logger = logger; }
public AddGameCommandHandler(IGamesContext context, ILogger <AddGameCommandHandler> logger, IGamesService gamesService, IDateTimeService dateTimeService, IIdGenerator idGenerator) { _context = context; _logger = logger; _gamesService = gamesService; _dateTimeService = dateTimeService; _idGenerator = idGenerator; }
public GameRepository(IGamesContext context) { _context = context; }
public EventRepository(IGamesContext context) { _context = context; }
public GamesController(IGamesContext context) { _context = context; }
public FakeGamesRepo(IGamesContext context) { _context = context; }
public GamesService(IGamesContext context) { _context = context; }
public DeleteGameCommandHandler(IGamesContext context, ILogger <DeleteGameCommandHandler> logger) { _context = context; _logger = logger; }