private bool ClienteExists(int id) { var cliente = _vendaRepositorio.ListarPorId(id); if (cliente == null) { return(false); } return(true); }