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