private void GetEmployeesList() { try { Logger.Info("GetEmployeesList Method"); var employeesList = DatabaseHelper.GetList <Employee>(); EmployeesList.Clear(); foreach (var item in employeesList) { employeesList.Add(item); } } catch (Exception ex) { Logger.Error(ex, "Exception occured from getting employees list"); } }