public CarvedRockQuery()
 {
     Field <ListGraphType <ProductType> >(
         "products",
         resolve: context => GlobalUserRepo.GetGlobalUsers()
         );
 }
Exemple #2
0
 public GlobalUser GetGlobalUser(int id)
 {
     return(GlobalUserRepo.GetGlobalUsers().SingleOrDefault(j => j.Id == id));
 }
Exemple #3
0
 public IEnumerable <GlobalUser> GetGlobalUsers()
 {
     return(GlobalUserRepo.GetGlobalUsers());
 }