using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CallCenterApi.BLL { public partial class NewsMassge { private readonly CallCenterApi.DAL.NewsMassge dal = new CallCenterApi.DAL.NewsMassge(); public NewsMassge() { } /// /// 增加一条数据 /// public int Add(CallCenterApi.Model.NewsMassge model) { return dal.Add(model); } /// /// 更新一条数据 /// public bool Update(CallCenterApi.Model.NewsMassge model) { return dal.Update(model); } /// /// 得到一个对象实体 /// public CallCenterApi.Model.NewsMassge GetModel(int ID) { return dal.GetModel(ID); } /// /// 删除一条数据 /// public bool Delete(int ID) { return dal.Delete(ID); } /// /// 删除一条数据 /// public bool DeleteList(string IDlist) { return dal.DeleteList(IDlist); } } }