public JsonResult DeleteMenu(int menuID) { int Id = Convert.ToInt32(menuID); if (RoleManagementTables.DeleteMenu(menuID) > 0) { return(Json(new { isError = "F", message = "Menu Deleted Successfully." })); } else { return(Json(new { isError = "T", message = "Error. Could Not Delete Data" })); } }