コード例 #1
0
ファイル: Cart.cs プロジェクト: erkmena/ECommerceProject
 public Cart(ICartEFService cartEFService, IMapper mapper, IProductEFService productEFService, ICategoryEFService categoryEFService)
 {
     _cartEFService     = cartEFService;
     _mapper            = mapper;
     _productEFService  = productEFService;
     _categoryEFService = categoryEFService;
 }
コード例 #2
0
ファイル: Delivery.cs プロジェクト: erkmena/ECommerceProject
 public Delivery(IDeliveryEFService deliveryEFService, ICartEFService cartEFService, IProductEFService productEFService, ICategoryEFService categoryEFService, IMapper mapper)
 {
     _deliveryEFService = deliveryEFService;
     _cartEFService     = cartEFService;
     _mapper            = mapper;
     _productEFService  = productEFService;
     _categoryEFService = categoryEFService;
 }
コード例 #3
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;
 }