Example #1
0
        public async Task <IActionResult> UpdateProduct(BlogProductModel model)
        {
            if (ModelState.IsValid)
            {
                await _blogViewModelService.UpdateProductModel(model);

                return(new NullJsonResult());
            }
            return(ErrorForKendoGridJson(ModelState));
        }
Example #2
0
        public async Task <IActionResult> UpdateProduct(BlogProductModel model)
        {
            await _blogViewModelService.UpdateProductModel(model);

            return(new NullJsonResult());
        }