@RequestMapping(path = "/get/page", method = GET)
 @ResponseStatus(value = OK)
 @JsonView(DiscountCardView.BasicLevel.class)
 public Page<DiscountCard> getAll(
     @RequestParam(defaultValue = "0", required = false) int page,
     @RequestParam(defaultValue = "15", required = false) int size,
     @RequestParam(defaultValue = "DESC", required = false) String direction,
     @RequestParam(defaultValue = "createdDate", required = false) String property) {
   return service.getAll(
       new PageRequest(page, size, new Sort(Sort.Direction.valueOf(direction), property)));
 }
 @RequestMapping(path = "/owner/page", method = GET, produces = APPLICATION_JSON_VALUE)
 @ResponseStatus(OK)
 @JsonView(DiscountCardView.BasicLevel.class)
 public Page<DiscountCard> getAuthenticatedPersonDiscountCards(
     @RequestParam(defaultValue = "0", required = false) int page,
     @RequestParam(defaultValue = "15", required = false) int size,
     @RequestParam(defaultValue = "DESC", required = false) String direction,
     @RequestParam(defaultValue = "createdDate", required = false) String property) {
   return service.getAuthenticatedPersonDiscountCards(
       new PageRequest(page, size, new Sort(Sort.Direction.valueOf(direction), property)));
 }