Ejemplo n.º 1
0
 // PUT: api/Department/5
 public void Put(int id, Department department)
 {
     departmentRepository.Update(department);
 }
Ejemplo n.º 2
0
 // POST: api/Department
 public void Post(Department department)
 {
     departmentRepository.Add(department);
 }