public MallDayController(IMallService <MallDayController> mallService,
                          IMallDayRepository mallDayRepository,
                          IMallDayService mallDayService) : base(mallService)
 {
     _mallDayRepository = mallDayRepository;
     _mallDayService    = mallDayService;
 }
Ejemplo n.º 2
0
 public MallService(
     IUnitOfWork unitOfWork,
     ILogger <T> logger,
     IFileProvider fileProvider,
     IMapper mapper,
     IMallDayRepository collectiveDayRepository)
     : base(unitOfWork, logger, fileProvider, mapper)
 {
     MallDayRepository = collectiveDayRepository;
 }
 public MallDayService(
     IMallDayRepository collectiveDayRepository,
     IMallProductSnapshotRepository collectiveProductSnapshotRepository,
     IProductForMallRepository productForMallRepository,
     IProductRepository productRepository)
 {
     _collectiveDayRepository             = collectiveDayRepository;
     _collectiveProductSnapshotRepository = collectiveProductSnapshotRepository;
     _productForMallRepository            = productForMallRepository;
     _productRepository = productRepository;
 }
Ejemplo n.º 4
0
 protected MallController(IMallService <T> mallService) : base(mallService)
 {
     MallService       = mallService;
     MallDayRepository = MallService.MallDayRepository;
 }