public AppGraphQuery(ISampleGrainClient sampleClient) { Name = "AppQueries"; Field <SampleDataGraphType>("sample", arguments: new QueryArguments(new QueryArgument <StringGraphType> { Name = "id" }), resolve: ctx => sampleClient.Get(ctx.Arguments["id"].ToString()) ); }
public SampleDataController( ISampleGrainClient client ) { _client = client; }