public ActionResult DeleteCustomFieldTab(string customFieldTabId) { if (string.IsNullOrEmpty(customFieldTabId)) { return(Json(new { success = true, response = "Could not delete the tab." }, JsonRequestBehavior.AllowGet)); } DeleteCustomFieldTabRequest request = new DeleteCustomFieldTabRequest(int.Parse(customFieldTabId)); customFieldService.DeleteCustomFieldTab(request); return(Json(new { success = true, response = "" }, JsonRequestBehavior.AllowGet)); }