public ActionResult Create(PictureCategory category)
 {
     if (category.OrderNo == null)
         category.OrderNo = 0;
     biz.Insert(category);
     return RedirectToAction("List");
 }
 public ActionResult Edit(PictureCategory pictureCategory)
 {
     biz.Update(pictureCategory);
     return RedirectToAction("List");
 }
Esempio n. 3
0
 partial void UpdatePictureCategory(PictureCategory instance);
Esempio n. 4
0
 partial void DeletePictureCategory(PictureCategory instance);
Esempio n. 5
0
 partial void InsertPictureCategory(PictureCategory instance);