/// <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);
 }
Exemple #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));
        }