Example #1
0
 public ActionResult Create(Role role)
 {
     if (ModelState.IsValid)
     {
         AccountServices.CreateNew <Role>(role);
         return(RedirectToAction("Index"));
     }
     return(View(role));
 }