public CompetitionBusinessLogic(ICompetitionsRepository competitionsRepository, ICompetitionEventsRepository competitionEventsRepository, IEventsRepository eventsRepository, ICompetitorRepository competitorRepository, ICompetitorEventsRepository competitorEventsRepository) { _competitionRepository = competitionsRepository; _competitionEventsRepository = competitionEventsRepository; _eventsRepository = eventsRepository; _competitorRepository = competitorRepository; _competitorEventsRepository = competitorEventsRepository; }
public HomeController(ICompetitionsRepository competitionsRepository, ICompetitionEventsRepository competitionEventsRepository, IEventsRepository eventsRepository, ICompetitorRepository competitorRepository, ICompetitorEventsRepository competitorEventsRepository, ICompetitionBusinessLogic competitionBusinessLogic, ICompetitionEventDetailsRepository competitionEventDetailsRepository) { _competitionRepository = competitionsRepository; _competitionEventsRepository = competitionEventsRepository; _eventsRepository = eventsRepository; _competitorRepository = competitorRepository; _competitorEventsRepository = competitorEventsRepository; _competitionBusinessLogic = competitionBusinessLogic; _competitionEventDetailsRepository = competitionEventDetailsRepository; }
public CompetitionsController(ICompetitionsRepository competitionsRepository) { CompetitionsRepository = competitionsRepository; }