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