public HttpResponseMessage DeletarOcorrencia(long codOcorrencia)
        {
            tb_ocorrencia deleteOcr = ocorrenciaService.Get(codOcorrencia);

            if (deleteOcr == null)
            {
                return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Ocorrencia não encontrada"));
            }
            else
            {
                ocorrenciaService.Remove(deleteOcr.codOcorrencia);
                var resp = new HttpResponseMessage()
                {
                    Content = new StringContent("{\"Message\":\"Cartão deletado com sucesso\"}")
                };
                resp.Content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
                return(resp);
            }
        }