Beispiel #1
0
        /// <summary>
        ///用户关联角色
        /// </summary>
        /// <returns></returns>
        public ActionResult RelationRole(string id)
        {
            TS_ROLEDTO rDto = new TS_ROLEDTO();

            rDto.UserID = id;
            rDto.Roles  = basicsService.GetRoles();
            rDto.RoleID = basicsService.GetUserRole(id);
            return(View(rDto));
        }