/// <summary> /// Initializes a new instance of the <see cref="EnterCompetitionController"/> class. /// </summary> /// <param name="competitionDataMapper"> /// The competition Data Mapper. /// </param> /// <param name="mapper"> /// The mapper. /// </param> public EnterCompetitionController( ICompetitionDataMapper competitionDataMapper, IMapper mapper) { _competitionDataMapper = competitionDataMapper; _mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="CompetitionsController"/> class. /// </summary> /// <param name="competitionDataMapper"> /// The competition Data Mapper. /// </param> /// <param name="userDataMapper"> /// The user Data Mapper. /// </param> /// <param name="mapper"> /// The mapper. /// </param> public CompetitionsController( ICompetitionDataMapper competitionDataMapper, IUserDataMapper userDataMapper, IMapper mapper) { _competitionDataMapper = competitionDataMapper; _userDataMapper = userDataMapper; _mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="CloseCompetitionController"/> class. /// </summary> /// <param name="competitionDataMapper"> /// The competition Data Mapper. /// </param> public CloseCompetitionController( ICompetitionDataMapper competitionDataMapper) { _competitionDataMapper = competitionDataMapper; }