コード例 #1
0
ファイル: IndexController.cs プロジェクト: Oldsooh/XGDG
        public ActionResult Index()
        {
            ImagesModel model = new ImagesModel();
            int totalCount = 0;
            model.AlbumList = albumService.GetAlbumList("", "", 5, 10, out totalCount, 0);

            return View(model);
        }
コード例 #2
0
ファイル: IndexController.cs プロジェクト: Oldsooh/XGDG
        public ActionResult Edit(int id)
        {
            ImagesModel model = new ImagesModel();

            model.Album = albumService.GetAlbumById(id);
            model.Categories = categoryService.GetCategories("album");

            return View(model);
        }