12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace WpfApp4.model
- {
- class Globals
- {
- public static IDataProvider dataProvider;
- IEnumerable<ClientPrice> getClientPrice()
- {
- return new ClientPrice[] {
- new ClientPrice{title="Все цены", PriceFrom=500, PriceTo=30000},
- new ClientPrice{title="Низкая цена", PriceFrom=500, PriceTo=3000},
- new ClientPrice{title="Средняя цена", PriceFrom=3000, PriceTo = 15000},
- new ClientPrice{title="Высокая цена", PriceFrom=15000, PriceTo=30000},
- };
- }
- IEnumerable<ClientCategory> getClientCategory()
- {
- return new ClientCategory[]
- {
- new ClientCategory { title = "По России" },
- new ClientCategory { title = "За границей" },
- };
- }
- }
- }
|