public async Task <IActionResult> DeleteProduct(string id) { if (ModelState.IsValid) { await _blogViewModelService.DeleteProductModel(id); return(new NullJsonResult()); } return(ErrorForKendoGridJson(ModelState)); }
public async Task <IActionResult> DeleteProduct(string id) { await _blogViewModelService.DeleteProductModel(id); return(new NullJsonResult()); }