public LoginMutation(ILoginHandler handler) { FieldAsync <LoginQueryType>( "sendLogin", arguments: new QueryArguments(new QueryArgument <NonNullGraphType <LoginCreateViewModel> > { Name = "request" }), resolve: async context => { var house = context.GetArgument <LoginRequest>("request"); return(await context.TryAsyncResolve(async _ => await handler.ProcessRequest(house))); } ); }