示例#1
0
文件: News.cs 项目: GullibleTwat/xhz
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(Maticsoft.Model.News model)
 {
     return(dal.Update(model));
 }
示例#2
0
文件: News.cs 项目: GullibleTwat/xhz
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int  Add(Maticsoft.Model.News model)
 {
     return(dal.Add(model));
 }