Example #1
0
 /// <summary>
 /// 添加宣传图片信息
 /// </summary>
 /// <param name="productPicture">宣传图片实体</param>
 /// <returns></returns>
 public int AddAdpic(Adpic adpic)
 {
     return(_adpic.Insert(adpic));
 }
Example #2
0
 /// <summary>
 /// 修改宣传图片信息
 /// </summary>
 /// <param name="productPicture">宣传图片实体</param>
 /// <returns></returns>
 public int ModifyAdpic(Adpic adpic)
 {
     return(_adpic.Update(adpic));
 }