Пример #1
0
        public void ShowRecentlyClosedDocuments()
        {
            var dtoList = new List <SessionDocumentDto>();

            foreach (var obj in _recentlyClosedDocs)
            {
                var dto = new SessionDocumentDto();
                DtoMapper.MapObjToDto(obj, dto);
                dtoList.Add(dto);
            }

            _viewAdapter.ShowRecentlyClosedDocuments(dtoList);
        }