Esempio n. 1
0
        public async Task <IActionResult> DeleteProduct(string id)
        {
            if (ModelState.IsValid)
            {
                await _blogViewModelService.DeleteProductModel(id);

                return(new NullJsonResult());
            }
            return(ErrorForKendoGridJson(ModelState));
        }
Esempio n. 2
0
        public async Task <IActionResult> DeleteProduct(string id)
        {
            await _blogViewModelService.DeleteProductModel(id);

            return(new NullJsonResult());
        }