start new controllers

This commit is contained in:
2021-11-23 15:43:21 +01:00
parent bffddbe9a8
commit a9bf2d28cb
61 changed files with 578 additions and 891 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ public static class EnumerableExtensions
/// <summary>
///
/// </summary>
public static ListResult<T> ToQueriedList<T>(this IEnumerable<T> items, ListQuery<T> query) where T : ZeroEntity
public static Paged<T> ToQueriedList<T>(this IEnumerable<T> items, ListQuery<T> query) where T : ZeroEntity
{
//queryable = queryable.Statistics(out QueryStatistics stats);
@@ -45,7 +45,7 @@ public static class EnumerableExtensions
List<T> result = items.ToList();
return new ListResult<T>(result, result.Count, query.Page, query.PageSize);
return new Paged<T>(result, result.Count, query.Page, query.PageSize);
}