Пример #1
0
 public IndexModel(ILogger <IndexModel> logger, IMapper mapper, ICategoryEFService categoryEFService, IProductEFService productEFService, ICartEFService cartEFService,
                   ICampaignEFService campaignEFService, ICouponEFService couponEFService, IDeliveryEFService deliveryEFService,
                   Microsoft.Extensions.Configuration.IConfiguration configuration)
 {
     _logger            = logger;
     _mapper            = mapper;
     _categoryEFService = categoryEFService;
     _productEFService  = productEFService;
     _cartEFService     = cartEFService;
     _campaignEFService = campaignEFService;
     _couponEFService   = couponEFService;
     _deliveryEFService = deliveryEFService;
     _configuration     = configuration;
 }
Пример #2
0
 public Coupon(IMapper mapper, ICouponEFService couponEFService)
 {
     _mapper          = mapper;
     _couponEFService = couponEFService;
 }