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

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