/// <summary>
 /// 根据用户ID获取用户的角色
 /// </summary>
 /// <param name="userID"></param>
 /// <returns></returns>
 public static List <SystemRoleInfoModel> GetSystemRoleInfoListByUserID(int userID)
 {
     return(SystemRoleInfoDataAccess.GetSystemRoleInfoListByUserID(userID));
 }
 public static bool DeleteRoleInfo(int roleID)
 {
     return(SystemRoleInfoDataAccess.DeleteRoleInfo(roleID));
 }
 public static SystemRoleInfoModel GetSystemRoleInfo(int roleID)
 {
     return(SystemRoleInfoDataAccess.GetSystemRoleInfo(roleID));
 }
 /// <summary>
 /// 保存
 /// </summary>
 /// <param name="account"></param>
 /// <returns></returns>
 public static bool SaveSystemRoleInfo(SystemRoleInfoModel roleInfo)
 {
     return(SystemRoleInfoDataAccess.SaveSystemRoleInfo(roleInfo));
 }
 public static DataGridPageList <SystemRoleInfoModel> GetSystemRoleInfoPageList(string roleName, int pageSize, int currentPage)
 {
     return(SystemRoleInfoDataAccess.GetSystemRoleInfoPageList(roleName, pageSize, currentPage));
 }