Added some tests for PagingSpecExtensions

Allow specials in missing
Dropped ListSortDirection
This commit is contained in:
Mark McDowall 2013-05-07 00:22:19 -07:00
commit f4dd6adc6a
12 changed files with 131 additions and 92 deletions

View file

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
@ -12,7 +11,13 @@ namespace NzbDrone.Core.Datastore
public int PageSize { get; set; }
public int TotalRecords { get; set; }
public string SortKey { get; set; }
public ListSortDirection SortDirection { get; set; }
public List<TModel> Records { get; set; }
public SortDirection SortDirection { get; set; }
public List<TModel> Records { get; set; }
}
public enum SortDirection
{
Ascending,
Descending
}
}