|
|
@ -11,6 +11,13 @@ public partial class DbDataManager
|
|
|
|
public UserRepository(DbDataManager dataManager)
|
|
|
|
public UserRepository(DbDataManager dataManager)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_dataManager = dataManager;
|
|
|
|
_dataManager = dataManager;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public async Task<IEnumerable<User>> GetItems(int index, int count, string? orderingProperty = null,
|
|
|
|
|
|
|
|
bool descending = false)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return await this.GetUsers(index, count, this.ToEnum(orderingProperty), descending);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public async Task<IEnumerable<User>> GetItems(int index, int count, Enum? orderingProperty = null, bool descending = false)
|
|
|
|
public async Task<IEnumerable<User>> GetItems(int index, int count, Enum? orderingProperty = null, bool descending = false)
|
|
|
|