public CompanyQuery(ICompanyLogic companyLogic) { FieldAsync <CompanyType>( "companyById", arguments: new QueryArguments(new QueryArgument <LongGraphType> { Name = "id" }), resolve: async context => { return(await companyLogic.GetById(context.GetArgument <long>("id"))); } ); }