public AuthorsController(IConfiguration configuration) { _configuration = configuration; string ConnectionString = _configuration.GetConnectionString("DefaultConnection"); _awsomeDbOperation = new AwsomeDbOperation(ConnectionString); }
public AuthorsController(IConfiguration configuration) { _configuration = configuration; string ConnectionString = _configuration.GetConnectionString("DefaultConnection"); _awsomeDbOperation = new AwsomeDbOperation(ConnectionString); }