Found the error preventing from the Shopping Cart from loading; fixed.

Confirmed that Remove from Cart works.
This commit is contained in:
Kira 2022-09-14 11:28:56 -07:00
parent 675444795c
commit df593b704d
2 changed files with 3 additions and 6 deletions

View File

@ -24,9 +24,9 @@ else
</p>
<div>
<button class="btn btn-success"
@onclick = "() => AddToCart_Click(new CartItemToAddDto {
@onclick = "(() => AddToCart_Click(new CartItemToAddDto {
CartId = HardCoded.CartId, ProductId = Product.Id, Quantity = 1,
})"
}))"
>Add To Cart</button>
</div>

View File

@ -82,9 +82,6 @@ namespace ShopOnline.Web.Services
}
}
Task<List<CartItemDto>> IShoppingCartService.GetItems(int userId)
{
throw new NotImplementedException();
}
}
}