public void DeleteExchangeRate(DeleteExchangeRateCommand command) { foreach (var item in command.SelectedIds) { _exchangeRateService.Delete(item); _unitOfWork.SaveChanges(); } }