/// <summary> /// Show Data For Add New UserRole /// </summary> /// <returns></returns> public ViewResult AddUserRole() { //做为 DropDownList DataSource ViewBag.rolemodel = roleService.GetList(); var model = new Infrastructure.Crosscutting.Authorize.Dto.UserRoleDto(); return View(model); }
/// <summary> /// Show Data For Add New UserRole /// </summary> /// <returns></returns> public ViewResult AddUserRole() { //做为 DropDownList DataSource ViewBag.rolemodel = roleService.GetList(); var model = new Infrastructure.Crosscutting.Authorize.Dto.UserRoleDto(); return(View(model)); }