Exemplo n.º 1
0
        public async Task <IActionResult> OnGetAsync()
        {
            User = await _usersApi.GetUserById(Guid.Parse(HttpContext.Session.GetString("id")));

            Cart = await _basketApi.GetCart(User.Username);

            return(Page());
        }