public OrderController(IWebStoreConfigurationService webStoreConfigurationServices, IBasketServices basketServices, IWebStoreProfileServices webstoreProfileServices)
 {
     this.T = NullLocalizer.Instance;
     this._basketServices = basketServices;
     this._webstoreProfileServices = webstoreProfileServices;
     this._webStoreConfigurationServices = webStoreConfigurationServices;
 }
 public AdminController(IProductServices productServices, ICommentServices commentServices, ICustomerServices customerServices, IBasketServices basketServices)
 {
     _commentServices  = commentServices;
     _customerServices = customerServices;
     _basketServices   = basketServices;
     _productServices  = productServices;
 }
Exemple #3
0
 public HomeController(IBasketServices basketServices, ICategoryServices categoryServices, IColorServices colorServices, ISizeServices sizeServices, IBrandServices brandServices)
 {
     _categoryServices = categoryServices;
     _colorServices    = colorServices;
     _sizeServices     = sizeServices;
     _brandServices    = brandServices;
     _basketServices   = basketServices;
 }
Exemple #4
0
 public BasketController(
     IHttpClient httpClient,
     IOptions <BaseOptions> options, IBasketServices basketServices)
 {
     _httpClient     = httpClient;
     _basketServices = basketServices;
     _options        = options.Value;
 }
Exemple #5
0
 public BasketController(IBasketServices basketServices, UserManager <User> userManager)
 {
     if (basketServices == null)
     {
         throw new ArgumentNullException(nameof(basketServices));
     }
     if (userManager == null)
     {
         throw new ArgumentNullException(nameof(userManager));
     }
     _userManager    = userManager;
     _basketServices = basketServices;
 }
Exemple #6
0
 public BasketController(IBasketServices BasketService, IOrderService OrderService, IRepository <Customer> Customers)
 {
     this.basketServices = BasketService;
     this.orderService   = OrderService;
     this.customers      = Customers;
 }
 public AdminBasketController(IBasketServices basketServices)
 {
     _basketServices = basketServices;
 }
 public UsersController(IUserServices user,ITokenServices token, IBasketServices basket)
 {
     this.userServices = user;
     this.tokenServices = token;
     this.basketServices = basket;
 }
Exemple #9
0
 public BasketController(IProductServices productServices, IBasketServices basketServices)
 {
     _basketServices  = basketServices;
     _productServices = productServices;
 }
 public BasketController(IWebStoreConfigurationService webStoreConfigurationServices, IBasketServices basketServices, IWebStoreProfileServices webStoreProfileServices)
 {
     this._webStoreConfigurationServices = webStoreConfigurationServices;
     this._basketServices = basketServices;
     this._webStoreProfileServices = webStoreProfileServices;
 }
Exemple #11
0
 public ProductChangeEventHandler(IBasketServices basketServices, IMapper mapper)
 {
     this._basketServices = basketServices;
     this.mapper          = mapper;
 }