public async Task <List <Currency> > DeleteCurrencyAsync(List <Currency> listCurrency) { List <Currency> result = new List <Currency>(); checkServiceCommunication(); List <Currency> gateWayResultList = await _gatewayOrder.DeleteCurrencyAsync(listCurrency); if (gateWayResultList.Count == 0) { foreach (Currency currency in listCurrency) { int returnValue = _dataSet.DeleteCurrency(currency.ID); if (returnValue > 0) { result.Add(currency); } } } return(result); }