| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- 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()
- { }
- /// <summary>
- /// 增加一条数据
- /// </summary>
- public int Add(CallCenterApi.Model.NewsMassge model)
- {
- return dal.Add(model);
- }
-
- /// <summary>
- /// 更新一条数据
- /// </summary>
- public bool Update(CallCenterApi.Model.NewsMassge model)
- {
- return dal.Update(model);
- }
- /// <summary>
- /// 得到一个对象实体
- /// </summary>
- public CallCenterApi.Model.NewsMassge GetModel(int ID)
- {
- return dal.GetModel(ID);
- }
- /// <summary>
- /// 删除一条数据
- /// </summary>
- public bool Delete(int ID)
- {
- return dal.Delete(ID);
- }
- /// <summary>
- /// 删除一条数据
- /// </summary>
- public bool DeleteList(string IDlist)
- {
- return dal.DeleteList(IDlist);
- }
- }
- }
|