📅  最后修改于: 2022-03-11 14:49:03.445000             🧑  作者: Mango
[HttpGet]
public IEnumerable getEmployeeById( int id)
{
var Emp = from emp in getEmployees()
where emp.EmployeeId.Equals(id)
select emp;
return Emp.ToList();
}