public async Task <ActionResult> CadastrarOcorrencia([FromBody] OcorrenciaPostDto ocorrenciaPostDto) { if (!ModelState.IsValid) { return(CustomResponse(ModelState)); } await _ocorrenciaService.AbrirOcorrencia(ocorrenciaPostDto); return(CustomResponse(new { mensagem = "Ocorrência foi aberta com sucesso!", })); }