Ejemplo n.º 1
0
 public FightsService(
     IMapper mapper,
     IFightsIndexer fightsIndexer,
     IJudgesTossuper judgesTossuper,
     IFightsRepository fightsRepository,
     IFightersTossupper fightersTossupper,
     IContestRepository contestRepository,
     IFighterMovingService fighterMovingService,
     IContestRingsRepository contestRingsRepository,
     IContestRequestRepository contestRequestRepository,
     IContestCategoriesRepository contestCategoriesRepository,
     IContestCategoryMappingsRepository contestCategoryMappingsRepository)
 {
     _mapper                            = mapper;
     _fightsIndexer                     = fightsIndexer;
     _judgesTossuper                    = judgesTossuper;
     _fightsRepository                  = fightsRepository;
     _contestRepository                 = contestRepository;
     _fightersTossupper                 = fightersTossupper;
     _fighterMovingService              = fighterMovingService;
     _contestRingsRepository            = contestRingsRepository;
     _contestRequestRepository          = contestRequestRepository;
     _contestCategoriesRepository       = contestCategoriesRepository;
     _contestCategoryMappingsRepository = contestCategoryMappingsRepository;
 }
 public ContestsService(IContestRepository repository,
                        IContestRequestRepository contestRequestsRepository,
                        IContestCategoryMappingsRepository contestCategoryMappingsRepository,
                        IContestRingsRepository contestRingsRepository,
                        IMapper mapper, IHttpUserContext userContext)
 {
     _repository = repository;
     _contestRequestsRepository         = contestRequestsRepository;
     _contestCategoryMappingsRepository = contestCategoryMappingsRepository;
     _contestRingsRepository            = contestRingsRepository;
     _mapper      = mapper;
     _userContext = userContext;
 }