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

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