public ChallengeController( IReadOnlyRepository <Challenge> chRepo, IGameOrganizer gameOrganizer, IMapper mapper) { this.chRepo = chRepo; this.organizer = gameOrganizer; this.mapper = mapper; }
public GamesController( IReadOnlyRepository <Game> gamesRepo, IGameOrganizer gameOrganizer, IMapper mapper) { this.gamesRepo = gamesRepo; this.organizer = gameOrganizer; this.mapper = mapper; }