public ActionResult ProcesUpdate(int role,string rname, double Amount) { RoleModel r1 = new RoleModel(); r1.UDate(role,rname, Amount); ViewData["Rolemi"] = r1.ListRole(); return RedirectToAction("Rolement"); }
public ActionResult UpdateRole(int id) { RoleModel r = new RoleModel(); ViewData["ctrole"] = r.ClickRole(id); return View("UpdateRole"); }
public ActionResult Rolement() { RoleModel r = new RoleModel(); ViewData["Rolemi"] = r.ListRole(); return View(); }