Beispiel #1
0
        private async Task getBlockList(User user)
        {
            RecommendedListVM vm = getPersistantData <RecommendedListVM>();

            vm.blockList = await BlockList.getList(user);

            setPersistantData(vm);
        }
Beispiel #2
0
        public async Task <IActionResult> openBlockedList()
        {
            BlockListVM vm = getPersistantData <BlockListVM>();

            vm.blockList = await BlockList.getList(Models.User.current);

            setPersistantData(vm);
            return(View("~/Offers/Views/BlockedItemCategoryList.cshtml", vm));
        }