public bool Delete(SettingEntity entity) { try { _settingRepository.Delete(entity); return(true); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(false); } }
public bool Delete(AdvertisementEntity entity) { try { _advertisementRepository.Delete(entity); return(true); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(false); } }
public bool Delete(ChannelEntity entity) { try { _channelRepository.Delete(entity); return(true); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(false); } }
public bool Delete(PublishProductEntity entity) { try { _publishproductRepository.Delete(entity); return(true); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(false); } }
public bool Delete(ResourceEntity entity) { try { _resourceRepository.Delete(entity); return(true); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(false); } }
public void Delete(int itemId) { _repo.Delete(itemId); }