/**
  * getWeeklyReportOfEmployeeByIdAndWeek(-) method display the working details of an employee for a
  * week using line chart.
  *
  * @throws ParseException If text format is not supported
  */
 @RequestMapping(
     value = "/getWeeklyProductivityOfEmployeeByIdAndWeek",
     method = RequestMethod.POST)
 public @ResponseBody String getWeeklyProductivityOfEmployeeByIdAndWeek(
     HttpServletRequest request,
     @RequestParam("employeeId") int employeeId,
     @RequestParam("week") String week)
     throws ParseException {
   logger.info("inside ReportGenerationController getWeeklyProductivityOfEmployeeByIdAndWeek()");
   if (HttpSessionUtility.verifySession(request, "adminId"))
     return reportGenerationService.getWeeklyProductivityOfEmployeeByIdAndWeek(employeeId, week);
   else return JsonUtility.convertToJson("-1");
 }