public JsonResult GetReportHcoIDs(string selectedSiteIDs) { try { return(Json(CorporateFinding.GetReportHcoIDs(selectedSiteIDs), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { ExceptionLog exceptionLog = new ExceptionLog { ExceptionText = "Reports: " + ex.Message, PageName = "CorporatePriorityFinding", MethodName = "GetReportHCOIDs", UserID = Convert.ToInt32(AppSession.UserID), SiteId = Convert.ToInt32(AppSession.SelectedSiteId), TransSQL = "", HttpReferrer = null }; exceptionService.LogException(exceptionLog); return(Json(RedirectToAction("Error", "Transfer"))); } }