コード例 #1
0
        public async Task <IActionResult> DeleteProduct(string id)
        {
            if (ModelState.IsValid)
            {
                await _blogViewModelService.DeleteProductModel(id);

                return(new NullJsonResult());
            }
            return(ErrorForKendoGridJson(ModelState));
        }
コード例 #2
0
        public async Task <IActionResult> DeleteProduct(string id)
        {
            await _blogViewModelService.DeleteProductModel(id);

            return(new NullJsonResult());
        }