public IActionResult Get(Guid id) { try { var perfil = _perfilRepository.BuscarPorId(id); if (perfil == null) { return(NotFound()); } return(Ok(perfil)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }