Ejemplo n.º 1
0
 public ActionResult AddAbout(About about)
 {
     _abm.Add(about);
     return(RedirectToAction("Index"));
 }
Ejemplo n.º 2
0
 public ActionResult Add(About about)
 {
     aboutManager.Add(about);
     return(RedirectToAction("Index", "About"));
 }
 public int Add(About model)
 {
     return(dal.Add(model));
 }