示例#1
0
        public async Task <IActionResult> OnPost(Dictionary <string, int> items)
        {
            await SetWishModelAsync();


            await _orderService.CreateOrderAsync(WishModel.Id, new Address("123 Main St.", "Kent", "OH", "United States", "44240"));

            await _wishService.DeleteWishAsync(WishModel.Id);

            return(RedirectToPage());
        }