public ActionResult Create([Bind(Include = "Type")] AccountType accountType) { if (ModelState.IsValid) { AccountTypeRepository.Add(accountType); return(RedirectToAction("Index")); } return(View(accountType)); }
public ActionResult Create([Bind(Include = "Type")] AccountType accountType) { if (ModelState.IsValid) { AccountTypeRepository.Add(accountType); return(RedirectToAction("Index")); } return(View(accountType)); }