public BlogServiceMutation(IBlogService blogService) { FieldAsync <AuthorType>( "createAuthor", arguments: new QueryArguments( new QueryArgument <NonNullGraphType <AuthorInputType> > { Name = "author" } ), resolve: async context => { var author = context.GetArgument <Author>("author"); return(await blogService.AddAuthorAsync(author)); }); }