public bool Delete(EventEntity entity) { try { _eventRepository.Delete(entity); return(true); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(false); } }
public bool Delete(InviteCodeEntity entity) { try { _invitecodeRepository.Delete(entity); return(true); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(false); } }