крупинааю 8 ay önce
ebeveyn
işleme
e373b2650c

+ 1 - 1
AvaloniaApplicationTest/ViewModels/ShowTourPageViewModel.cs

@@ -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;