public JsonResult RefAgencyEditEmailDelete(string id, string id2) { int SuccID = _DbPortal.DeleteT_OE_ORGANIZATION_EMAIL_RULE(id, id2); if (SuccID == 0) { return(Json("Unable to delete record.")); } else { return(Json("Success")); } }