Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
        /// <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));
        }