Skip to content

Instantly share code, notes, and snippets.

@gavilanch
Created May 27, 2019
Embed
What would you like to do?
public class ValuesRepository
{
private readonly string _connectionString;
public ValuesRepository(IConfiguration configuration)
{
_connectionString = configuration.GetConnectionString("defaultConnection");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment