public IActionResult ListarTodos() { try { var result = _service.FindAll(); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex.InnerException.ToString())); } }