Exemplo n.º 1
0
        public ActionResult GetMultiSiteCoPs(string selectedProgramIDs)
        {
            try
            {
                return(PartialView("Search/_MultiSiteCoP", CMSService.GetCoPsByProgramID(selectedProgramIDs)));
            }
            catch (Exception ex)
            {
                ExceptionLog exceptionLog = new ExceptionLog
                {
                    ExceptionText = "Reports: " + ex.Message,
                    PageName      = "CorporateReportController",
                    MethodName    = "GetMultiSiteCoPs",
                    UserID        = Convert.ToInt32(AppSession.UserID),
                    SiteId        = Convert.ToInt32(AppSession.SelectedSiteId),
                    TransSQL      = "",
                    HttpReferrer  = null
                };
                exceptionService.LogException(exceptionLog);

                return(RedirectToAction("Error", "Transfer"));
            }
        }