@RequestMapping(value = "/deleteCompanyDepartment/{departmentId}", method = RequestMethod.GET)
 @ResponseBody
 public Boolean deleteCompanyDepartment(
     HttpServletRequest request,
     HttpServletResponse response,
     @PathVariable Integer departmentId) {
   return departmentService.deleteCompanyDepartment(departmentId);
 }
 @RequestMapping(value = "/saveDepartment", method = RequestMethod.POST)
 @ResponseBody
 public Boolean saveDepartment(
     HttpServletRequest request,
     HttpServletResponse response,
     @RequestBody DepartmentJson departmentJson) {
   return departmentService.saveDepartment(departmentJson);
 }
 @RequestMapping(value = "/getAllDepartmentsList/{companyId}", method = RequestMethod.GET)
 @ResponseBody
 public List<DepartmentJson> getAllDepartmentsList(
     HttpServletRequest request, HttpServletResponse response, @PathVariable Integer companyId) {
   return departmentService.getAllDepartmentsList(companyId);
 }