Beispiel #1
0
 public ActionResult Edit(AdresseViewModel rVM)
 {
     try
     {
         rVM.Save();
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }
Beispiel #2
0
 public ActionResult Create(AdresseViewModel Adresse)
 {
     try
     {
         Adresse.Save();
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }