aush 8 mesiacov pred
rodič
commit
18324f595d

+ 2 - 2
WriteErase/ClassPages/PageMain.xaml.cs

@@ -118,12 +118,12 @@ namespace WriteErase.ClassPages
                     }
                 case 2:
                     {
-                        _products = _products.Where(tb => tb.ProductDiscountMax > 10.0 && tb.ProductDiscountMax >= 14.99).ToList();
+                        _products = _products.Where(tb => tb.ProductDiscountMax >= 10.0 && tb.ProductDiscountMax <= 14.99).ToList();
                         break;
                     }
                 case 3:
                     {
-                        _products = _products.Where(tb => tb.ProductDiscountMax > 15.0).ToList();
+                        _products = _products.Where(tb => tb.ProductDiscountMax >= 15.0).ToList();
                         break;
                     }
                 default:

+ 2 - 2
WriteErase/ClassPages/PageOrderView.xaml.cs

@@ -75,12 +75,12 @@ namespace WriteErase.ClassPages
                     }
                 case 2:
                     {
-                        list = list.Where(tb => tb.ProcentCost > 10.0 && tb.ProcentCost >= 14.99).ToList();
+                        list = list.Where(tb => tb.ProcentCost >= 10.0 && tb.ProcentCost <= 14.99).ToList();
                         break;
                     }
                 case 3:
                     {
-                        list = list.Where(tb => tb.ProcentCost > 15.0).ToList();
+                        list = list.Where(tb => tb.ProcentCost >= 15.0).ToList();
                         break;
                     }
                 default: