public ActionResult DeleteCategory(int category_ID) { int errorCode = InputControl.DeleteCategoryControl(category_ID); return(Json(new { result = errorCode })); }