// GET: Role public ActionResult Index() { using (var ctx = new MypacSMS.Data.MypacSMSContext()) { var items = ctx.AspNetRoles.ToList <Models.AspNetRoles>(); return(View(items)); } }
public RoleController(MypacSMS.Data.MypacSMSContext context) { this.context = context; }