private void CloseConnection() { _command.Parameters.Clear(); _sqlConnection.Close(); //LOGGING Logger.Info("Sql connection was closed"); }