public List <CurrencyInfoModelGet> QueryCurrency(CurrencyInfoModelSend currencyInfoModelSend) { HeadModelGet <List <CurrencyInfoModelGet> > headModelGet = BwHttpApiAccess <HeadModelGet <List <CurrencyInfoModelGet> > > .PostMsg( ApiAddress.QueryCurrency, currencyInfoModelSend); return(headModelGet.Code == 0 ? headModelGet.Data : null); }
private void QueryCurrency() { CurrencyInfoModelSend currencyInfoModelSend = new CurrencyInfoModelSend(); _currencyInfoModelGets = _currencyInfoApi.QueryCurrency(currencyInfoModelSend); dgvPassCard.DataSource = _currencyInfoModelGets; gvPassCard.RefreshData(); }