public OrderController( IBillingAddressService billingAddressService, IOrderService orderService, IMapper mapper) { _billingAddressService = billingAddressService; _orderService = orderService; _mapper = mapper; }
public CartController( UserManager <ApplicationUser> userManager, IProductService productService, IBillingAddressService billingAddressService, IOrderService orderService, IHttpContextAccessor httpContextAccessor, IMapper mapper) { _userManager = userManager; _productService = productService; _billingAddressService = billingAddressService; _orderService = orderService; _mapper = mapper; _httpContextAccessor = httpContextAccessor; }
public ManageController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IBillingAddressService billingAddressService, IHttpContextAccessor httpContextAccessor, IOrderService orderService, ILoggerFactory loggerFactory, IMapper mapper) { _userManager = userManager; _signInManager = signInManager; _billingAddressService = billingAddressService; _httpContextAccessor = httpContextAccessor; _orderService = orderService; _logger = loggerFactory.CreateLogger <ManageController>(); _mapper = mapper; }