public override void Initialize() { Model vm = GetDialogCustomData <Model>(); vm.CraftCategories = CraftService.GetCategoriesAvailableToPC(GetPC().GlobalID); foreach (CraftBlueprintCategory category in vm.CraftCategories) { AddResponseToPage("CraftCategoriesPage", category.Name, true, category.ID); } SetDialogCustomData(vm); }