public ActionResult RoleInfoEdit(SystemRoleInfoModel roleInfo)
        {
            bool isSuccess = SystemRoleInfoBusiness.SaveSystemRoleInfo(roleInfo);

            ViewBag.Message   = isSuccess ? "保存成功" : "保存失败";
            ViewBag.IsSuccess = isSuccess;

            return(View(roleInfo));
        }
        public ActionResult RoleMenuRelationManage()
        {
            int roleId = WebRequestHelper.GetIntFromParameters("RoleID");

            SystemRoleInfoModel roleInfo = new SystemRoleInfoModel();

            roleInfo = SystemRoleInfoBusiness.GetSystemRoleInfo(roleId);

            return(View(roleInfo));
        }
 /// <summary>
 /// 保存
 /// </summary>
 /// <param name="account"></param>
 /// <returns></returns>
 public static bool SaveSystemRoleInfo(SystemRoleInfoModel roleInfo)
 {
     return(SystemRoleInfoDataAccess.SaveSystemRoleInfo(roleInfo));
 }
Exemplo n.º 4
0
 /// <summary>
 /// 保存
 /// </summary>
 /// <param name="account"></param>
 /// <returns></returns>
 public static bool SaveSystemRoleInfo(SystemRoleInfoModel roleInfo)
 {
     return(true);
 }