示例#1
0
        public List <MinimizedDiaryPageDto> GetMinimizedDiaryPages(long diaryId)
        {
            List <DiaryPage> diaryPages = _pageRepository.GetDiaryPages(diaryId);

            _statisticObserver.OnDiaryViewd(diaryId);
            return(Mapper.Map <List <MinimizedDiaryPageDto> >(diaryPages));
        }