Esempio n. 1
0
        private void BuildCategoryList()
        {
            List <PerkCategory> categories = _perk.GetPerkCategoriesForPC(GetPC().GlobalID);

            ClearPageResponses("CategoryPage");
            foreach (PerkCategory category in categories)
            {
                AddResponseToPage("CategoryPage", category.Name, true, new Tuple <string, dynamic>(string.Empty, category.PerkCategoryID));
            }
            AddResponseToPage("CategoryPage", "Back", true, new Tuple <string, dynamic>(string.Empty, -1));
        }