示例#1
0
        public VenueCategoriesManager()
        {
            this.VenueCategories      = sharpSquare.GetVenueCategories();
            this.RootCategoryMappings = new Dictionary <Category, Category>(new CategoryComparer());

            CreateRootCategoryMappings(VenueCategories);
        }
示例#2
0
        public List <Category> getCategories()
        {
            var categories = client.GetVenueCategories();

            return(categories);
        }