GetCategorys() public méthode

Получение категорий на заданной странице с заданными фильтрами.
public GetCategorys ( int page, int pageSize, List fieldFilters = null, Filtering sortFilter = null ) : CategoryCollectionViewModel
page int Номер страницы
pageSize int Размер страницы
fieldFilters List Список фильтров
sortFilter Filtering Порядок сортировки
Résultat Courses.ViewModels.CategoryCollectionViewModel
 public void GetCategorysTest()
 {
     ICategoryService _categoryService = new CategoryService(new CategoryRepository(), new CategoryFilterFactory());
     CategoryCollectionViewModel actual = _categoryService.GetCategorys(1, 5);
     Assert.IsNotNull(actual);
 }