source: KernelRecordsMVC.Application/ViewModels/CartViewModel.cs@ fa0fbaf

main
Last change on this file since fa0fbaf was 08aefc6, checked in by mmilevski <markomilevski3@…>, 4 weeks ago

Initial commit

  • Property mode set to 100644
File size: 219 bytes
Line 
1namespace KernelRecordsMVC.Application.ViewModels;
2
3public class CartViewModel
4{
5 public List<CartItemViewModel> Items { get; set; }
6 = new();
7
8 public decimal Total =>
9 Items.Sum(x => x.Total);
10}
Note: See TracBrowser for help on using the repository browser.