コード例 #1
0
 public ActionResult AddAbout(About about)
 {
     _abm.Add(about);
     return(RedirectToAction("Index"));
 }
コード例 #2
0
 public ActionResult Add(About about)
 {
     aboutManager.Add(about);
     return(RedirectToAction("Index", "About"));
 }
コード例 #3
0
 public int Add(About model)
 {
     return(dal.Add(model));
 }