@RequestMapping(
     value = {"/areas"},
     method = RequestMethod.GET)
 public List<AreaJsonDto> getAreas(HttpServletResponse response) {
   List<AreaJsonDto> dtos =
       dtoService.convert(areaService.getAll(), AreaJsonDto.class, Area.class);
   response.addIntHeader("X-Total-Count", dtos.size());
   return dtos;
 }
 @RequestMapping(
     value = {"/areas/{areaId}"},
     method = RequestMethod.GET)
 public AreaJsonDto getArea(@PathVariable Long areaId) {
   return dtoService.convert(areaService.getById(areaId), AreaJsonDto.class, Area.class);
 }