예제 #1
0
 public async Task <QueryResult <ApplicationUser> > GetTodoEditors(ToDoFilter filter)
 {
     return(await GetItems <ApplicationUser>(from : "TodoEditors", orderBy : i => i.UserName, parameters : filter?.ToDictionary()));
 }
예제 #2
0
 public async Task <QueryResult <Todo> > GetToDos(ToDoFilter filter, int?take = null, int?skip = null)
 {
     return(await GetItems <Todo>(from : "Todos", orderByDescending : i => i.CreatedOn, take : take, skip : skip, parameters : filter?.ToDictionary()));
 }