/// <summary>
 /// Populates the Employee list view with the data of all employees.
 /// </summary>
 private void FillEmployeeListView()
 {
     lvwEmployees.Items.Clear();
     foreach (Employee employee in employeeDA.GetAllEmployees())
     {
         string[] fields =
         {
             employee.EmployeeId,            employee.FullName,
             employee.Department.ToString(), employee.WeekStart.ToString("d"), employee.Salary.ToString("c")
         };
         lvwEmployees.Items.Add(new ListViewItem(fields));
     }
 }
 public List <BusinessObjects.Employee> GetEmployees()
 {
     return(EmployeeDA.GetAllEmployees());
 }