Beispiel #1
0
        public void Put(int id, EmployeeMV2 emp)
        {
            EmployeeMV2 currEmp = employees.Find(emp => emp.Id == id);

            currEmp.Name       = emp.Name;
            currEmp.Department = emp.Department;
        }
Beispiel #2
0
 public void Post(EmployeeMV2 emp)
 {
     employees.Add(emp);
 }