public IActionResult Delete(string code)
 {
     return(Ok(DepartmentStatic.DeleteDepartment(code)));
 }
 public IActionResult Update(string code, Department department)
 {
     return(Ok(DepartmentStatic.UpdateDepartment(code, department)));
 }
 public IActionResult GetByCode(string code)
 {
     return(Ok(DepartmentStatic.getDepartment(code)));
 }
 public IActionResult Insert(Department department)
 {
     return(Ok(DepartmentStatic.InsertDepartment(department)));
 }
 public IActionResult GetAll()
 {
     return(Ok(DepartmentStatic.getAllDepartment()));
 }