/// <summary> /// Constructor /// </summary> public EventControl ( IEventService event_service, ICompetitionService competition_service, ICompetitionTypeService competition_type_service, ICategoryService category_service, ICompetitorService competitor_service, IRegisterService register_service, IKitStateService kit_state_service, IRegisterStateService register_state_service, ITeamService team_service, ITimeRegService time_reg_service ) { // Default stuff InitializeComponent(); // Assign services this.event_service = event_service; this.competition_service = competition_service; this.competition_type_service = competition_type_service; this.category_service = category_service; this.competitor_service = competitor_service; this.register_service = register_service; this.kit_state_service = kit_state_service; this.register_state_service = register_state_service; this.team_service = team_service; this.time_reg_service = time_reg_service; /// Init controls list_event_control = new ListEvent(this); menu_event_control = new MenuEvent(this); new_event_control = new NewEvent(this); detail_event_control = new DetailEvent(this); new_competition_control = new NewCompetition(this); new_register_control = new NewRegister(this); report_control = new ReportControl(this); timing_control = new TimingControl(); }// End of Constructor function
public ReportController(ITimeRegService timeRegService, IMapper mapper) { _timeRegService = timeRegService; _mapper = mapper; }