Example #1
0
 public decimal GetPlainSum()
 {
     return(TicketItems.Sum(item => item.GetTotal()));
 }
Example #2
0
 public decimal Total()
 {
     return(Math.Round(TicketItems.Sum(x => x.TicketPrice * x.Quantity), 2));
 }