private IEnumerable <Employee> GetEmployees(DateTime dateTime) { //stub implementation only: var resultCount = RandomValueGenerator.GetRandomInt(1, 100); var employees = new List <Employee>(resultCount); for (int index = 0; index < resultCount; index++) { var employee = new Employee(); employee.DepartmentName = RandomValueGenerator.GetRandomString(); employee.DirectDialNumber = RandomValueGenerator.GetRandomInt(1000000000).ToString(); employee.EmailAddress = string.Format("{0}@sixeyed.com", RandomValueGenerator.GetRandomString(10, " ")); employee.EmployeeId = RandomValueGenerator.GetRandomInt().ToString(); employee.Status = RandomValueGenerator.GetRandomEnumValue <EmployeeStatus>(); employee.ExtensionNumber = RandomValueGenerator.GetRandomInt(1000).ToString(); employee.FaxNumber = RandomValueGenerator.GetRandomInt(1000000000).ToString(); employee.FullName = RandomValueGenerator.GetRandomString(20); employee.LatestHireDate = RandomValueGenerator.GetRandomDateTime(2000); employee.LastChangeDate = RandomValueGenerator.GetRandomDateTime(dateTime.Year - 1); employee.MobileNumber = RandomValueGenerator.GetRandomInt(1000000000).ToString(); employee.OfficeCountry = RandomValueGenerator.GetRandomString(15); employee.OfficeLocation = RandomValueGenerator.GetRandomString(30); employee.RoleDescription = RandomValueGenerator.GetRandomString(30); employee.RoleTitle = RandomValueGenerator.GetRandomString(20); employees.Add(employee); } return(employees); }