Exemple #1
0
        public ActionResult EditRole(int id)
        {
            var db     = new RoleBusiness();
            var result = db.GetRoleSystemById(id);

            ViewBag.id = id;
            return(PartialView(result));
        }
Exemple #2
0
        public ActionResult InformationRoleSystem(int id)
        {
            var db     = new RoleBusiness();
            var result = db.GetRoleSystemById(id);

            ViewBag.id   = id;
            ViewBag.name = result.RoleName;
            return(View());
        }