Example #1
0
 public OrderController(IWebStoreConfigurationService webStoreConfigurationServices, IBasketServices basketServices, IWebStoreProfileServices webstoreProfileServices)
 {
     this.T = NullLocalizer.Instance;
     this._basketServices = basketServices;
     this._webstoreProfileServices = webstoreProfileServices;
     this._webStoreConfigurationServices = webStoreConfigurationServices;
 }
Example #2
0
 public AdminController(IProductServices productServices, ICommentServices commentServices, ICustomerServices customerServices, IBasketServices basketServices)
 {
     _commentServices  = commentServices;
     _customerServices = customerServices;
     _basketServices   = basketServices;
     _productServices  = productServices;
 }
Example #3
0
 public HomeController(IBasketServices basketServices, ICategoryServices categoryServices, IColorServices colorServices, ISizeServices sizeServices, IBrandServices brandServices)
 {
     _categoryServices = categoryServices;
     _colorServices    = colorServices;
     _sizeServices     = sizeServices;
     _brandServices    = brandServices;
     _basketServices   = basketServices;
 }
Example #4
0
 public BasketController(
     IHttpClient httpClient,
     IOptions <BaseOptions> options, IBasketServices basketServices)
 {
     _httpClient     = httpClient;
     _basketServices = basketServices;
     _options        = options.Value;
 }
Example #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;
 }
Example #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;
 }
Example #9
0
 public BasketController(IProductServices productServices, IBasketServices basketServices)
 {
     _basketServices  = basketServices;
     _productServices = productServices;
 }
Example #10
0
 public BasketController(IWebStoreConfigurationService webStoreConfigurationServices, IBasketServices basketServices, IWebStoreProfileServices webStoreProfileServices)
 {
     this._webStoreConfigurationServices = webStoreConfigurationServices;
     this._basketServices = basketServices;
     this._webStoreProfileServices = webStoreProfileServices;
 }
Example #11
0
 public ProductChangeEventHandler(IBasketServices basketServices, IMapper mapper)
 {
     this._basketServices = basketServices;
     this.mapper          = mapper;
 }