Example #1
0
 public RetailDayController(IRetailService <RetailDayController> retailService,
                            IRetailDayRepository retailDayRepository,
                            IRetailDayService retailDayService) : base(retailService)
 {
     _retailDayRepository = retailDayRepository;
     _retailDayService    = retailDayService;
 }
 public RetailService(
     IUnitOfWork unitOfWork,
     ILogger <T> logger,
     IFileProvider fileProvider,
     IMapper mapper,
     IRetailDayRepository retailDayRepository)
     : base(unitOfWork, logger, fileProvider, mapper)
 {
     RetailDayRepository = retailDayRepository;
 }
Example #3
0
 public RetailDayService(
     IRetailDayRepository retailDayRepository,
     IRetailProductSnapshotRepository retailProductSnapshotRepository,
     IProductForRetailRepository productForRetailRepository,
     IProductRepository productRepository)
 {
     _retailDayRepository             = retailDayRepository;
     _retailProductSnapshotRepository = retailProductSnapshotRepository;
     _productForRetailRepository      = productForRetailRepository;
     _productRepository = productRepository;
 }
Example #4
0
 protected RetailController(IRetailService <T> retailService) : base(retailService)
 {
     RetailService       = retailService;
     RetailDayRepository = RetailService.RetailDayRepository;
 }