Closed tylermwatts closed 5 years ago
Historical functionality works
Changed how the query string is constructed in CurrencyExchangeService based on whether or not a historical date is given by the user
Added a DateTime property to ExchangeData since a date is returned in the JSON regardless of whether the latest or historical data is requested.
The GetExchangeDataAsync method in ICurrencyExchangeService can now accept a nullable DateTime parameter
Added a unit test for historical data (more tests needed? probably? but maybe not?)
Nullable DateTime property also added to IndexViewModel
Convert.cshtml now shows the date for the requested data
Index.cshtml.cs now implements two discrete OnPost methods, "Latest" and "Historical" for the respective requests
Resolves #5
Resolves #8
Historical functionality works
Changes:
Changed how the query string is constructed in CurrencyExchangeService based on whether or not a historical date is given by the user
Added a DateTime property to ExchangeData since a date is returned in the JSON regardless of whether the latest or historical data is requested.
The GetExchangeDataAsync method in ICurrencyExchangeService can now accept a nullable DateTime parameter
Added a unit test for historical data (more tests needed? probably? but maybe not?)
Nullable DateTime property also added to IndexViewModel
Convert.cshtml now shows the date for the requested data
Index.cshtml.cs now implements two discrete OnPost methods, "Latest" and "Historical" for the respective requests
Resolves #5
Resolves #8