source: KernelRecordsMVC.Application/ViewModels/CartViewModel.cs@ 08aefc6

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

Initial commit

  • Property mode set to 100644
File size: 219 bytes
RevLine 
[08aefc6]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.