Exemplo n.º 1
0
        public IEnumerable <RefreshToken> LoadByPage(int page, int pageSize, RefreshTokenFilter filter = null)
        {
            var filterExpression = new RefreshTokenQueryObject(filter).Expression;

            if (page <= 0)
            {
                page = 1;
            }
            if (pageSize <= 0)
            {
                pageSize = 1;
            }
            return(Fetch(filterExpression, page, pageSize));
        }
Exemplo n.º 2
0
        public IEnumerable <RefreshToken> LoadAll(RefreshTokenFilter filter = null)
        {
            var expression = new RefreshTokenQueryObject(filter).Expression;

            return(Fetch(expression));
        }