Exemple #1
0
        public async Task <IActionResult> ProductAddPopup(string categoryId)
        {
            var model = await _categoryViewModelService.PrepareAddCategoryProductModel(_workContext.CurrentCustomer.StaffStoreId);

            model.CategoryId = categoryId;
            return(View(model));
        }
        public IActionResult ProductAddPopup(string categoryId)
        {
            var model = _categoryViewModelService.PrepareAddCategoryProductModel();

            return(View(model));
        }
Exemple #3
0
        public async Task <IActionResult> ProductAddPopup(string categoryId)
        {
            var model = await _categoryViewModelService.PrepareAddCategoryProductModel();

            return(View(model));
        }