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