예제 #1
0
        public void UpdateView(IMainView view)
        {
            NoteDTOs = NoteRepository.GetAll().ToList();

            view.Notes = NoteDTOs;


            FolderDTOs = FolderRepository.GetAll().ToList();

            view.Folders = FolderDTOs;
        }
예제 #2
0
 public IEnumerable <FolderDto> GetAll()
 {
     return(_folderRepository.GetAll().MappingDto());
 }
 public IEnumerable <Folder> GetFolders()
 {
     return(_folderRepository.GetAll());
 }
예제 #4
0
 public IEnumerable <DtoFolder> GetAllFolders()
 => folderRepository.GetAll().Select(item => item.ToDtoFolder());
예제 #5
0
 public ICollection <FolderDomain> GetAll(Paging paging)
 {
     paging.ValidatePagingCriteria();
     return(_folderRepository.GetAll(paging));
 }