public ContestAdminController(
     ILogger <ContestAdminController> logger,
     IContestManager contestManager,
     IContestAdminManager contestAdminManager,
     IAsyncRepository <Contest> contestsRepo,
     ISheetsApiClient sheetsApiClient)
 {
     this.logger              = logger;
     this.contestManager      = contestManager;
     this.contestAdminManager = contestAdminManager;
     this.contestsRepo        = contestsRepo;
     this.sheetsApiClient     = sheetsApiClient;
 }
 public ContestAdminManager(
     ILogger <ContestAdminManager> logger,
     IDiplomaDrawer diplomaDrawer,
     IContestManager contestManager,
     IAsyncRepository <Contest> contestsRepo,
     IAsyncRepository <Participant> participantsRepo,
     IAsyncRepository <QualificationParticipation> qualificationParticipationRepo,
     IAsyncRepository <QualificationTask> qualificationTaskRepo,
     Context context,
     ISeatingGenerator seatingGenerator)
 {
     this.logger           = logger;
     this.diplomaDrawer    = diplomaDrawer;
     this.contestManager   = contestManager;
     this.contestsRepo     = contestsRepo;
     this.participantsRepo = participantsRepo;
     this.qualificationParticipationRepo = qualificationParticipationRepo;
     this.qualificationTaskRepo          = qualificationTaskRepo;
     this.context          = context;
     this.seatingGenerator = seatingGenerator;
 }
Example #3
0
 public NewsController(IContestManager contestManager, INewsManager newsManager)
 {
     this.contestManager = contestManager;
     this.newsManager    = newsManager;
 }
Example #4
0
 public ContestsController(IContestManager contestManager, IAsyncRepository <Contest> contestsRepo, IUserCookieManager cookieManager)
 {
     this.contestManager = contestManager;
     this.contestsRepo   = contestsRepo;
     this.cookieManager  = cookieManager;
 }