public object Get(GetPagedAdvancedSorts request)
 {
     return(WithDb(db => Logic.GetPaged(
                       request.Limit,
                       request.Page,
                       request.FilterGeneral)));
 }
        public object Get(GetPagedAdvancedSorts request)
        {
            var query = AutoQuery.CreateQuery(request, Request);

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