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