class PairService {

	public void remove(String symbol, String providerCode) {
		var pe = pairRepo.findBySymbolAndProviderCode(symbol, providerCode);
		
		if(pe == null) {
			throw PairException.notFound(symbol, providerCode);
		}
		
		pairRepo.delete(pe);
	}

}