private void CommitToDatabase() { Parallel.ForEach(_parseManager.GetDtos(), dto => { _databaseAccess.ExecuteStoredProcedureNonQuery(dto.StoredProcedure, dto.SqlParameters); }); }