public CollectiveDayController(ICollectiveService <CollectiveDayController> collectiveService,
                                ICollectiveDayRepository collectiveDayRepository,
                                ICollectiveDayService collectiveDayService) : base(collectiveService)
 {
     _collectiveDayRepository = collectiveDayRepository;
     _collectiveDayService    = collectiveDayService;
 }
示例#2
0
 public CollectiveService(
     IUnitOfWork unitOfWork,
     ILogger <T> logger,
     IFileProvider fileProvider,
     IMapper mapper,
     ICollectiveDayRepository collectiveDayRepository)
     : base(unitOfWork, logger, fileProvider, mapper)
 {
     CollectiveDayRepository = collectiveDayRepository;
 }
 public CollectiveDayService(
     ICollectiveDayRepository collectiveDayRepository,
     ICollectiveProductSnapshotRepository collectiveProductSnapshotRepository,
     IProductForCollectiveRepository productForCollectiveRepository,
     IProductRepository productRepository)
 {
     _collectiveDayRepository             = collectiveDayRepository;
     _collectiveProductSnapshotRepository = collectiveProductSnapshotRepository;
     _productForCollectiveRepository      = productForCollectiveRepository;
     _productRepository = productRepository;
 }
示例#4
0
 protected CollectiveController(ICollectiveService <T> collectiveService) : base(collectiveService)
 {
     CollectiveService       = collectiveService;
     CollectiveDayRepository = CollectiveService.CollectiveDayRepository;
 }