Esempio n. 1
0
 public CampaignsController(
     ICampaignRepository campaignRepository,
     IRecommendationRepository recommendationRepository,
     IDataChangeValidator dataChangeValidator,
     IMapper mapper,
     IDemographicRepository demographicRepository,
     ISalesAreaRepository salesAreaRepository,
     IProductRepository productRepository,
     ICampaignExcelReportGenerator campaignsReportGenerator,
     IReportColumnFormatter reportColumnFormatter,
     IProgrammeRepository programmeRepository,
     IClashRepository clashRepository,
     IProgrammeCategoryHierarchyRepository programmeCategoryRepository,
     IFeatureManager featureManager,
     ICampaignFlattener campaignFlattener,
     ICampaignCleaner campaignCleaner,
     ICampaignPassPrioritiesService campaignPassPrioritiesService)
 {
     _campaignRepository       = campaignRepository;
     _dataChangeValidator      = dataChangeValidator;
     _recommendationRepository = recommendationRepository;
     _mapper = mapper;
     _demographicRepository       = demographicRepository;
     _clashRepository             = clashRepository;
     _salesAreaRepository         = salesAreaRepository;
     _productRepository           = productRepository;
     _campaignsReportGenerator    = campaignsReportGenerator;
     _reportColumnFormatter       = reportColumnFormatter;
     _programmeCategoryRepository = programmeCategoryRepository;
     _featureManager                = featureManager;
     _campaignFlattener             = campaignFlattener;
     _campaignCleaner               = campaignCleaner;
     _programmeRepository           = programmeRepository;
     _campaignPassPrioritiesService = campaignPassPrioritiesService;
 }
Esempio n. 2
0
 /// <summary>
 /// Demographic controller constructor
 /// </summary>
 /// <param name="demographicRepository"></param>
 /// <param name="dataChangeValidator"></param>
 /// <param name="mapper"></param>
 public DemographicController(
     IDemographicRepository demographicRepository,
     IDataChangeValidator dataChangeValidator,
     IMapper mapper)
 {
     _demographicRepository = demographicRepository;
     _dataChangeValidator   = dataChangeValidator;
     _mapper = mapper;
 }
Esempio n. 3
0
 public RatingsPredictionSchedulesController(
     IRatingsScheduleRepository ratingsScheduleRepository,
     IDataChangeValidator dataChangeValidator,
     IMapper mapper
     )
 {
     _ratingsScheduleRepository = ratingsScheduleRepository;
     _dataChangeValidator       = dataChangeValidator;
     _mapper = mapper;
 }
Esempio n. 4
0
 public UniversesController(IUniverseRepository universeRepository, IDemographicRepository demographicRepository,
                            ISalesAreaRepository salesAreaRepository,
                            IDataChangeValidator dataChangeValidator, IMapper mapper)
 {
     _universeRepository    = universeRepository;
     _demographicRepository = demographicRepository;
     _salesAreaRepository   = salesAreaRepository;
     _dataChangeValidator   = dataChangeValidator;
     _mapper = mapper;
 }
Esempio n. 5
0
 public ClashController(
     IClashRepository clashRepository,
     IDataChangeValidator dataChangeValidator,
     IMapper mapper,
     IClashValidator clashValidator
     )
 {
     _clashRepository     = clashRepository;
     _dataChangeValidator = dataChangeValidator;
     _mapper         = mapper;
     _clashValidator = clashValidator;
 }
Esempio n. 6
0
 public ProgrammesController(IProgrammeRepository programmeRepository, IMapper mapper,
                             IRepositoryFactory repositoryFactory,
                             IProgrammeCategoryHierarchyRepository programmeCategoryRepository,
                             ISalesAreaRepository salesAreaRepository, IDataChangeValidator dataChangeValidator)
 {
     _programmeRepository = programmeRepository;
     _mapper                      = mapper;
     _repositoryFactory           = repositoryFactory;
     _programmeCategoryRepository = programmeCategoryRepository;
     _salesAreaRepository         = salesAreaRepository;
     _dataChangeValidator         = dataChangeValidator;
 }
Esempio n. 7
0
 public ProductController(
     IProductRepository repository,
     IDataChangeValidator dataChangeValidator,
     IMapper mapper,
     IModelDataValidator <CreateProduct> productValidator,
     IClock clock)
 {
     _repository          = repository;
     _dataChangeValidator = dataChangeValidator;
     _mapper           = mapper;
     _productValidator = productValidator;
     _clock            = clock;
 }
Esempio n. 8
0
 public SponsorshipsController(
     ISponsorshipRepository sponsorshipRepository,
     IDataChangeValidator dataChangeValidator,
     IMapper mapper,
     IModelDataValidator <IEnumerable <CreateSponsorshipModel> > createSponsorshipsValidator,
     IModelDataValidator <UpdateSponsorshipModel> updateSponsorshipValidator
     )
 {
     _sponsorshipRepository = sponsorshipRepository;
     _dataChangeValidator   = dataChangeValidator;
     _mapper = mapper;
     _createSponsorshipsValidator = createSponsorshipsValidator;
     _updateSponsorshipValidator  = updateSponsorshipValidator;
 }
Esempio n. 9
0
 public BreaksController(IBreakRepository breakRepository, IMapper mapper,
                         IScheduleRepository scheduleRepository, ISpotRepository spotRepository,
                         IDataChangeValidator dataChangeValidator, IAuditEventRepository auditEventRepository,
                         ISalesAreaRepository salesAreaRepository,
                         IRecalculateBreakAvailabilityService recalculateBreakAvailabilityService)
 {
     _breakRepository      = breakRepository;
     _spotRepository       = spotRepository;
     _mapper               = mapper;
     _scheduleRepository   = scheduleRepository;
     _dataChangeValidator  = dataChangeValidator;
     _auditEventRepository = auditEventRepository;
     _salesAreaRepository  = salesAreaRepository;
     _recalculateBreakAvailabilityService = recalculateBreakAvailabilityService;
 }
Esempio n. 10
0
 public SpotsController(
     ISpotRepository repository,
     IBreakRepository breakRepository,
     IScheduleRepository scheduleRepository,
     IDataChangeValidator dataChangeValidator,
     IAuditEventRepository auditEventRepository,
     ISpotModelCreator spotModelCreator,
     IMapper mapper)
 {
     _repository           = repository;
     _mapper               = mapper;
     _breakRepository      = breakRepository;
     _scheduleRepository   = scheduleRepository;
     _dataChangeValidator  = dataChangeValidator;
     _auditEventRepository = auditEventRepository;
     _spotModelCreator     = spotModelCreator;
 }
Esempio n. 11
0
 public SchedulesController(IScheduleRepository scheduleRepository, IMapper mapper, IDataChangeValidator dataChangeValidator)
 {
     _scheduleRepository  = scheduleRepository;
     _dataChangeValidator = dataChangeValidator;
     _mapper = mapper;
 }