diff --git a/Pages/ExchangeRate.cshtml b/Pages/ExchangeRate.cshtml new file mode 100644 index 0000000..5f3117f --- /dev/null +++ b/Pages/ExchangeRate.cshtml @@ -0,0 +1,53 @@ +@page "/exrate" +@model VSERVERWS.Pages.ExchangeRateModel +@{ + + Layout = null; + +} + + + + + + + + + + Exchange Rate + + + + + + +
+ + + US to CDN EXCHANGE RATE + @Model.ExRate.ToString()% +
+ + + + + \ No newline at end of file diff --git a/Pages/ExchangeRate.cshtml.cs b/Pages/ExchangeRate.cshtml.cs new file mode 100644 index 0000000..15d065f --- /dev/null +++ b/Pages/ExchangeRate.cshtml.cs @@ -0,0 +1,26 @@ + + +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +using CVRLIB.CVR; + +namespace VSERVERWS.Pages +{ + public class ExchangeRateModel : PageModel + { + + public float ExRate { + get { + return CVRCO.GetUSDtoCDNExRate; + } + } + + public void OnGet() + { + + + + } + } +} diff --git a/wwwroot/img/EX_FLAG.png b/wwwroot/img/EX_FLAG.png new file mode 100644 index 0000000..1fecbbe Binary files /dev/null and b/wwwroot/img/EX_FLAG.png differ