Exemple #1
0
 public int Delete(int idAdvertisementInfo)
 {
     try
     {
         return(dao.Delete(idAdvertisementInfo));
     }
     catch (Exception)
     {
         return(0);
     }
 }
Exemple #2
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="pEntity"></param>
 public void Delete(AdvertisementEntity pEntity)
 {
     _currentDAO.Delete(pEntity);
 }