public CountyDayController(ICountyService <CountyDayController> countyService,
                            ICountyDayRepository countyDayRepository,
                            ICountyDayService countyDayService) : base(countyService)
 {
     _countyDayRepository = countyDayRepository;
     _countyDayService    = countyDayService;
 }
Пример #2
0
 public CountyService(
     IUnitOfWork unitOfWork,
     ILogger <T> logger,
     IFileProvider fileProvider,
     IMapper mapper,
     ICountyDayRepository collectiveDayRepository)
     : base(unitOfWork, logger, fileProvider, mapper)
 {
     CountyDayRepository = collectiveDayRepository;
 }
Пример #3
0
 public CountyDayService(
     ICountyDayRepository collectiveDayRepository,
     ICountyProductSnapshotRepository collectiveProductSnapshotRepository,
     IProductForCountyRepository productForCountyRepository,
     IProductRepository productRepository)
 {
     _collectiveDayRepository             = collectiveDayRepository;
     _collectiveProductSnapshotRepository = collectiveProductSnapshotRepository;
     _productForCountyRepository          = productForCountyRepository;
     _productRepository = productRepository;
 }
Пример #4
0
 protected CountyController(ICountyService <T> collectiveService) : base(collectiveService)
 {
     CountyService       = collectiveService;
     CountyDayRepository = CountyService.CountyDayRepository;
 }