Exemplo n.º 1
0
        public IEnumerable <NovelReadRecordInfo> GetRecentChapterListExceptType(string userName, int exceptContentType, int top = 5)
        {
            if (string.IsNullOrEmpty(userName))
            {
                return(null);
            }

            using (var conn = DbConnection(DbOperation.Read))
            {
                var repo = new Repository.LogRepo(conn);
                return(repo.GetRecentChapterListExceptType(userName, exceptContentType, top));
            }
        }