public async Task RemoveAsync() { await CheckPolicyAsync(); await _reRouteRepository.RemoveAsync(); await _distributedEventBus.PublishAsync(new OcelotConfigChangeCommand("ReRoute", "Clean")); }
public async Task RemoveAsync() { await CheckPolicyAsync(); await _reRouteRepository.RemoveAsync(); await _eventPublisher.PublishAsync(ApiGatewayDomainConsts.Events_OcelotConfigChanged, new OcelotConfigChangeCommand("ReRoute", "Clean")); }
public async Task RemoveAsync() { await CheckPolicyAsync(); await _reRouteRepository.RemoveAsync(); }