@@ -110,7 +110,7 @@ namespace AvaloniaApplicationTest.ViewModels
int sum = 0;
foreach (Tour tour in filtered_tours)
{
- sum = Convert.ToInt32(tour.Price*tour.TicketCount);
+ sum += Convert.ToInt32(tour.Price*tour.TicketCount);
}
AllPrice = sum;
LBTours = filtered_tours;