Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ssms-ps Api ParametersController GetParameter
[HttpGet]
public IActionResult GetParameter(){
string parameter1 = _configuration["test-key"];
string parameter2 = _configuration["test-key2"];
string parameter3 = _configuration["test-key3"];
return Ok(new List<string> { parameter1, parameter2, parameter3 });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment