static async Task <bool> FindByIdQueryTest() { FindByIdQuery findByIdQuery = new FindByIdQuery(); FindById criterion = new FindById("26270cfa2422b2c4ebf158285e027730"); Contract result = null; try { result = await findByIdQuery.Ask(criterion); } catch (Exception e) { Console.WriteLine(e); return(false); } Console.WriteLine(result.Id); return(true); }