Beispiel #1
0
 public ActionResult AddSubAccount(Account account)
 {
     if (ModelState.IsValid)
     {
         accRepo.AddDependent(account);
         return(RedirectToAction("Index"));
     }
     else
     {
         return(View());
     }
 }