public ActionResult Delete(ASF.Entities.Category model) { if (ModelState.IsValid) { var cp = new ASF.UI.Process.CategoryProcess(); cp.Delete(model.Id); } return(RedirectToAction("Index")); }