Beispiel #1
0
 //
 // GET: /User/CreateRoles/5
 public ActionResult CreateRoles(UserRols UserRoles)
 {
     UserRoles.Update();
     return RedirectToAction("Index");
 }
Beispiel #2
0
 //
 // GET: /User/Roles/5
 public ActionResult Roles(int id = 0)
 {
     UserRols UserRoles = new UserRols(id);
     return View(UserRoles);
 }