public bool AddExchangeRates(List <CurrencyRates> currencyRates) { if (_dataLayer != null) { return(_dataLayer.AddExchangeRates(_dataMapper.ConvertEntityToDataTable(currencyRates))); } return(false); }