## страницы
#### ProductType
```
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace wpf_connection3
{
public class ProductType
{
public int ID { get; set; }
public string Title { get; set; }
public override string ToString()
{
return Title;
}
}
}
```
#### MainWindow.xaml
```
```
#### interface
```
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using wpf_connection3;
namespace wpf_connection3
{
public interface IDataProvider
{
IEnumerable getProduct(int pageNum);
int getProductCount();
void setOrder(string condition);
List getProductTypes();
void clearFilter();
void addFilter(string name, object value);
}
}
```
![](./scrs/1.jpg)
![](./scrs/2.jpg)