public void OnGet() { AvModel.Ticker = "USDJPY"; AvModel.Interval = 1; AvModel.Outputsize = 1; AvModel.FxData = AlphaVantageHelper.GetAvFxBar(AvModel.Ticker, AvModel.Interval, AvModel.Outputsize, avKey.ApiKey); }
public void OnPost() { AvModel.FxData = AlphaVantageHelper.GetAvFxBar(AvModel.Ticker, AvModel.Interval, AvModel.Outputsize, avKey.ApiKey); }