Exemplo n.º 1
0
 public ProjectTypeObject(IProjectTypeService pT)
 {
     projectType = pT;
     Field(f => f.Name);
     FieldAsync <ListGraphType <ProjectObject> >("projects",
                                                 resolve: async context => await projectType.GetProjectsOfType(context.Source.Id));
 }