Пример #1
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(WebApi_Model.T_Forum_Comment model)
 {
     return(dal.Update(model));
 }
Пример #2
0
 /// <summary>
 /// 得到一个对象实体
 /// </summary>
 public WebApi_Model.T_Forum_Comment GetModel(int CommentID)
 {
     WebApi_Model.T_Forum_Comment model = dal.GetModel(CommentID);
     //if()
     return(model);
 }
Пример #3
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int Add(WebApi_Model.T_Forum_Comment model)
 {
     return(dal.Add(model));
 }