Esempio n. 1
0
 // PUT: api/Department/5
 public void Put(Department Department)
 {
     DepartmentRepository.Update(Department);
 }
Esempio n. 2
0
 // POST: api/Department
 public void Post(Department Department)
 {
     //Department.Id = Guid.NewGuid();
     DepartmentRepository.Add(Department);
 }