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

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