BgEngine.Controllers.CategoryController.DeleteConfirmed C# (CSharp) Method

DeleteConfirmed() private method

private DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult
        public ActionResult DeleteConfirmed(int id)
        {
            try
            {
                CategoryServices.DeleteEntity(id);
            }
            catch (OperationCanceledException ex)
            {
                ModelState.AddModelError("", Resources.AppMessages.Error_Category_With_Posts);
                return View(CategoryServices.FindEntityByIdentity(id));
            }
            return RedirectToAction("Index");
        }