コード例 #1
0
 public void CategoryAdd(string CategoryName, int SectionId)
 {
     dbHelper.AddCategory(CategoryName, SectionId);
 }
コード例 #2
0
 public ActionResult CategoryAdd(string CategoryName, int SectionId)
 {
     dbHelper.AddCategory(CategoryName, SectionId);
     return(RedirectToAction("CategoryList", new { Id = SectionId }));
 }