@RequestMapping(value = "edithealthworker", method = RequestMethod.POST)
public @ResponseBody CustomGenericResponse editHealthWorker(
@RequestParam("workerId") int workerId, @RequestParam("fullName") String fullName, @RequestParam("sex") char sex,
@RequestParam("phoneNumber") String phoneNumber) {
HealthExtensionWorker healthWorker = healthPostService.findHwById(workerId);
healthWorker.setFullName(fullName);
healthWorker.setPhoneNumber(phoneNumber);
healthWorker.setSex(sex);
boolean result = healthPostService.persistHealthWorker(healthWorker);
CustomGenericResponse response = new CustomGenericResponse();
if (result) {
response.setMessage("Action Successful");