public void Seed(string connectionString)
 {
     try
     {
         var dbConnector = new DbConnector(connectionString);
         var commands    = ScriptsRetriever.GetNonQueryScripts().ToArray();
         dbConnector.ExecuteNonQuery(commands);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
     }
 }
        public void Seed(string connectionString)
        {
            DbConnector dbConnector = null;

            try
            {
                dbConnector = new DbConnector(connectionString);
                var commands = ScriptsRetriever.GetNonQueryScripts().ToArray();
                dbConnector.ExecuteNonQuery(commands);
            }
            catch (Exception ex)
            {
                logger.LogError(
                    LoggingEvents.SEED_ERROR,
                    "Failed to updated the db.",
                    ex);
                throw;
            }
            finally
            {
                dbConnector?.Dispose();
            }
        }