You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
810 B
34 lines
810 B
9 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using FangYar.Model.TBL;
|
||
|
namespace FangYar.BLL.TBL
|
||
|
{
|
||
|
public class SysGroupBLL
|
||
|
{
|
||
|
private static readonly IDAL.TBL.SysGroupIDAL dal = FangYar.DALFactory.Factory.GetSysGroupDAL();
|
||
|
/// <summary>
|
||
|
/// 根据ID获取实体对象
|
||
|
/// </summary>
|
||
|
public TBL_SYS_GROUP_Model GetModelByID(string id)
|
||
|
{
|
||
|
return dal.GetModelByID(id);
|
||
|
}
|
||
|
|
||
|
public bool Add(TBL_SYS_GROUP_Model model)
|
||
|
{
|
||
|
|
||
|
return dal.Add(model);
|
||
|
}
|
||
|
public bool Edit(TBL_SYS_GROUP_Model model)
|
||
|
{
|
||
|
return dal.Edit(model);
|
||
|
}
|
||
|
public bool Delete(string IDList)
|
||
|
{
|
||
|
return dal.Delete(IDList);
|
||
|
}
|
||
|
}
|
||
|
}
|