public async Task <IActionResult> OnGetAsync() { User = await _usersApi.GetUserById(Guid.Parse(HttpContext.Session.GetString("id"))); Cart = await _basketApi.GetCart(User.Username); return(Page()); }