Exemplo n.º 1
0
        // GET: PN/Roles/Edit/5
        public ActionResult Edit(string id)
        {
            var model = obj.SelectByID(id, out outmodel);

            ViewBag.Role = new SelectList(context.AspNetRoles.ToList(), "Id", "Name", model.Id);
            return(View(model));
        }