Exemplo n.º 1
0
        public NovelReadRecordInfo GetRecentChapterByType(string userName, int contentType)
        {
            if (string.IsNullOrEmpty(userName))
            {
                return(null);
            }

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