public void CompileReport() { List <Employee> employees = dbhandler.GetEmployees(); foreach (var employee in employees) { _currentOutputFormat.Print(employee); } }