コード例 #1
0
 // GET: Access/GroupRoles/Create
 public ActionResult Create()
 {
     ViewBag.GroupId = new SelectList(_accessUtils.GetGroups(), "Id", "Breadcrumb");
     return(View());
 }
コード例 #2
0
 // GET: Access/Groups
 public ActionResult Index()
 {
     return(View(_accessUtils.GetGroups().ToList()));
 }