123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace WpfApp2.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 = "За границей" },
- };
- }
- }
- }
|