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