コード例 #1
0
        public ActionResult Create()
        {
            List <Online_Assessment_Project.DomainModel.Role> Roles = roleServices.Display();

            ViewBag.Roles = new SelectList(Roles, "RoleId", "RoleName");
            return(View());
        }