private static EmployeeContext CreateEmployeeContext() { var context = new EmployeeContext { Employees = new List<Employee> { new Employee {Id = 1, FirstName = "David", LastName = "De Gea", Email = "*****@*****.**"}, new Employee {Id = 8, FirstName = "Juan", LastName = "Mata", Email = "*****@*****.**"}, new Employee {Id = 9, FirstName = "Anthony", LastName = "Martial", Email = "*****@*****.**"}, } }; return context; }
public EmployeeQuery() { _employeeContext = EmployeeContextLocator.EmployeeContext; }