public async Task <IActionResult> ObterTodos() { try { return(Ok(_repositorio.ObterTodos())); } catch (Exception ex) { return(BadRequest(ex.Message)); } }