public JsonResult ocorrenciaDrill(string status, string mes, string filtroAgrup, string indicador, string ano) { if (this.Logado != ((char)Enums.Logado.Sim).ToString()) { return(this.Json(new { redirectUrl = Url.Action("Login", "Login"), Logado = true }, JsonRequestBehavior.AllowGet)); } try { N0203REGBusiness N0203REGBusines = new N0203REGBusiness(); List <Ocorrencia> ListaProtocolosPendentes = new List <Ocorrencia>(); ListaProtocolosPendentes = N0203REGBusines.OcorrenciaDrill(mes, indicador, ano); return(this.Json(new { ListaProtocolosPendentes, sucesso = true }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { this.Session["ExceptionErro"] = ex; return(this.Json(new { redirectUrl = Url.Action("ErroException", "Erro"), ErroExcecao = true }, JsonRequestBehavior.AllowGet)); } }