[HttpGet] public IEnumerable<Employee> getEmployeeById( int id) { var Emp = from emp in getEmployees() where emp.EmployeeId.Equals(id) select emp; return Emp.ToList<Employee>(); }