예제 #1
0
 public object Get(GetPagedTokens request)
 {
     return(WithDb(db => Logic.GetPaged(
                       request.Limit,
                       request.Page,
                       request.FilterGeneral)));
 }
예제 #2
0
        public object Get(GetPagedTokens request)
        {
            var query = AutoQuery.CreateQuery(request, Request);

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