Пример #1
0
 public object Get(GetPagedTasks request)
 {
     return(WithDb(db => Logic.GetPaged(
                       request.Limit,
                       request.Page,
                       request.FilterGeneral)));
 }
Пример #2
0
        public object Get(GetPagedTasks request)
        {
            var query = AutoQuery.CreateQuery(request, Request);

            return(WithDb(db => Logic.GetPaged(
                              request.Limit,
                              request.Page,
                              request.FilterGeneral,
                              query,
                              requiresKeysInJsons: request.RequiresKeysInJsons
                              )));
        }