using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FangYar.BLL.TBL { public class GetGroupRulesBLL { private static readonly FangYar.IDAL.TBL.GroupRulesIDAL dal = FangYar.DALFactory.Factory.GetGroupRulesDAL(); /// /// 根据ID获取model /// public FangYar.Model.TBL.TBL_SYS_GROUPRULES_Model GetModelByID(string ID) { return dal.GetModelByID(ID); } /// /// 添加 /// public bool Add(FangYar.Model.TBL.TBL_SYS_GROUPRULES_Model model) { return dal.Add(model); } /// /// 删除 /// public bool Delete(string IDList) { return dal.Delete(IDList); } /// /// 编辑 /// public bool Edit(FangYar.Model.TBL.TBL_SYS_GROUPRULES_Model model) { return dal.Edit(model); } } }