refactor(HomeController): remove culture binding as viewdata; bind via string localizer
This commit is contained in:
@@ -57,7 +57,7 @@ namespace EnvelopeGenerator.Web.Services
|
||||
_logger = logger;
|
||||
|
||||
_logger.LogInformation("Establishing MSSQL Database connection..");
|
||||
MSSQL = new MSSQLServer(logConfig, config.GetConnectionString(Key.Default));
|
||||
MSSQL = new MSSQLServer(logConfig, config.GetConnectionString("Default"));
|
||||
|
||||
if (MSSQL.DBInitialized == true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user