コード例 #1
0
 public ActionResult Create(MusicCategory category)
 {
     BizMusicCategory.Insert(category);
     return RedirectToAction("List");
 }
コード例 #2
0
 public ActionResult Edit(MusicCategory category)
 {
     BizMusicCategory.Update(
         category.CategoryID,
         cate => new MusicCategory
         {
             Name = category.Name,
             OrderNo = category.OrderNo
         }
     );
     return RedirectToAction("List");
 }
コード例 #3
0
 partial void UpdateMusicCategory(MusicCategory instance);
コード例 #4
0
 partial void DeleteMusicCategory(MusicCategory instance);
コード例 #5
0
 partial void InsertMusicCategory(MusicCategory instance);