예제 #1
0
 public CompetitionBusinessLogic(ICompetitionsRepository competitionsRepository, ICompetitionEventsRepository competitionEventsRepository, IEventsRepository eventsRepository, ICompetitorRepository competitorRepository, ICompetitorEventsRepository competitorEventsRepository)
 {
     _competitionRepository       = competitionsRepository;
     _competitionEventsRepository = competitionEventsRepository;
     _eventsRepository            = eventsRepository;
     _competitorRepository        = competitorRepository;
     _competitorEventsRepository  = competitorEventsRepository;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public CompetitionsController(ICompetitionsRepository competitionsRepository)
 {
     CompetitionsRepository = competitionsRepository;
 }