예제 #1
0
        public IActionResult Update(string roleId)
        {
            var p     = RoleDal.Find(roleId);
            var model = new RoleUpdateModel()
            {
                RoleId = p.RoleId,
                Name   = p.Name.Trim(),
            };

            return(View(model));
        }