public void OnGet()
 {
     AvModel.Ticker    = "USDEUR";
     AvModel.StartDate = DateTime.Parse("2018-01-01");
     AvModel.EndDate   = DateTime.Parse("2018-03-01");
     AvModel.Period    = "daily";
     AvModel.FxData    = AlphaVantageHelper.GetAvFxEod(AvModel.Ticker, AvModel.StartDate, AvModel.EndDate, AvModel.Period, avKey.ApiKey);
 }
 public void OnPost()
 {
     AvModel.FxData = AlphaVantageHelper.GetAvFxEod(AvModel.Ticker, AvModel.StartDate, AvModel.EndDate, AvModel.Period, avKey.ApiKey);
 }