Ejemplo n.º 1
0
 public ActionResult Subscription(AccountType at)
 {
     if (AccountTypeRepo.GetAll().Find(a => a.AccountTypeName == at.AccountTypeName) == null)
     {
         AccountTypeRepo.Insert(at);
     }
     return(RedirectToAction("Subscription"));
 }