コード例 #1
0
        public Tuple<IEnumerable<FolderNode>, IEnumerable<Content>> Folder(int? id)
        {
            ContentRepository contentRepos = new ContentRepository(unitOfWork);
            FolderNodeRepository folderRepos = new FolderNodeRepository(unitOfWork);

            return new Tuple<IEnumerable<FolderNode>, IEnumerable<Content>>(folderRepos.FindByFolder(id), contentRepos.FindByFolder(id));
        }