0
marble68 created
But in the MVC, I want to get a setting while in a controller.
I'm running 8.7, Jquery
Specifically, I'm after the setting WebSiteRootAddress
somthing like:
string myUrl = "";
string myUrl += <get WebSiteRootAddress from appsettings.json>; // <-- How do I do this?
string myUrl += "/Take/" + employee.Id;
ViewBag.myUrl = myUrl;
Thanks.