Ejemplo n.º 1
0
 public async Task <QueryResult <ApplicationUser> > GetTodoEditors(ToDoFilter filter)
 {
     return(await GetItems <ApplicationUser>(from : "TodoEditors", orderBy : i => i.UserName, parameters : filter?.ToDictionary()));
 }
Ejemplo n.º 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()));
 }