public ActionResult Delete(int id, string tableName) { if (tableName != "lupAbsentReason" && id != 1) { _lookup.Delete(id, tableName); } return(this.Json("Lookup item has been deleted successfully!")); }