public ShoppingCartController(IShoppingCartService cartService, IAdminProductService productService, PCStoreDbContext db, UserManager <User> userService) { this.cartService = cartService; this.productService = productService; this.db = db; this.userService = userService; }
public AdminProductServiceTest() { this.context = MockDbContext.GetContext(); this.mapper = MockAutoMapper.GetAutoMapper(); this.dropDownService = new DropDownListService(this.context, this.mapper); this.productService = new ProductService(this.context, this.mapper); this.adminProductService = new AdminProductService(this.context, this.mapper, this.productService, this.dropDownService); }
public ProductsController( ChameleonStoreContext context, IMapper mapper, IAdminProductService products, IDropDownListable dropDownService) { this.context = context; this.mapper = mapper; this.products = products; this.dropDownService = dropDownService; }
public AllModel(IAdminProductService products) { this.products = products; }
public DiscountController(IAdminDiscountService adminDiscountService, IAdminProductService adminProductService) { this._adminDiscountService = adminDiscountService; this._adminProductService = adminProductService; }
public AdminProductsController(IAdminProductService products, IAdminCategoryService categories) { this.products = products; this.categories = categories; }
public ProductsController(IAdminProductService products) { this.products = products; }
public ProductsController(IAdminProductService productService, IAdminCategoryService categoryService) { this.productService = productService; this.categoryService = categoryService; }
public ProductController(IAdminProductService productService, IAdminAuthorService adminAuthorService) { this._productService = productService; this._adminAuthorService = adminAuthorService; }