Пример #1
0
 public ChallengeController(
     IReadOnlyRepository <Challenge> chRepo,
     IGameOrganizer gameOrganizer,
     IMapper mapper)
 {
     this.chRepo    = chRepo;
     this.organizer = gameOrganizer;
     this.mapper    = mapper;
 }
Пример #2
0
 public GamesController(
     IReadOnlyRepository <Game> gamesRepo,
     IGameOrganizer gameOrganizer,
     IMapper mapper)
 {
     this.gamesRepo = gamesRepo;
     this.organizer = gameOrganizer;
     this.mapper    = mapper;
 }