public void UpdateView(IMainView view) { NoteDTOs = NoteRepository.GetAll().ToList(); view.Notes = NoteDTOs; FolderDTOs = FolderRepository.GetAll().ToList(); view.Folders = FolderDTOs; }
public IEnumerable <FolderDto> GetAll() { return(_folderRepository.GetAll().MappingDto()); }
public IEnumerable <Folder> GetFolders() { return(_folderRepository.GetAll()); }
public IEnumerable <DtoFolder> GetAllFolders() => folderRepository.GetAll().Select(item => item.ToDtoFolder());
public ICollection <FolderDomain> GetAll(Paging paging) { paging.ValidatePagingCriteria(); return(_folderRepository.GetAll(paging)); }