50 lines
1.0 KiB
C#
50 lines
1.0 KiB
C#
using System;
|
|
using AIMSDAL;
|
|
using AIMSModel;
|
|
using AIMSObjectQuery;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Reflection;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AIMSBLL
|
|
{
|
|
public partial class BUserPurview
|
|
{
|
|
public static void Add(UserPurview UserPurview)
|
|
{
|
|
try
|
|
{
|
|
DUserPurview.Add(UserPurview);
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
MessageBox.Show("增加失败!" + ex.Message);
|
|
}
|
|
}
|
|
|
|
public static void Delete(int RoleId)
|
|
{
|
|
DUserPurview.Delete(RoleId);
|
|
}
|
|
|
|
public static UserPurview GetModel(int Id)
|
|
{
|
|
return DUserPurview.GetModel(Id);
|
|
}
|
|
|
|
public static DataTable GetDataTable()
|
|
{
|
|
return DUserPurview.GetDataTable();
|
|
|
|
}
|
|
|
|
public static List<string> GetPurviewListByRoleId(int RoleId)
|
|
{
|
|
return DUserPurview.GetPurviewListByRoleId(RoleId);
|
|
}
|
|
}
|
|
}
|