Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Created May 1, 2019 20:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save guitarrapc/ee32a92191648f7ef2682a92ff6acf78 to your computer and use it in GitHub Desktop.
public IActionResult Index()
{
var vm = new IndexViewModel
{
Secret = _config.GetValue<string>("ConnectionStrings:DATABASE"),
};
return View(vm);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment