public void SettingFiatCurrency(Guid accountId, string fiatCurrency) { var list = new CurrenciesDAC().GetAll(); if (list.All(e => e.Code != fiatCurrency)) { throw new CommonException(ReasonCode.GENERAL_ERROR, "Fiat currency error."); } var dac = new MerchantAccountDAC(); dac.SettingFiatCurrency(accountId, fiatCurrency); }