@PostMapping(value = "/new", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
public ResponseEntity<?> addCategory(@RequestParam String title, @RequestParam String url,@RequestParam String description ,@RequestParam MultipartFile file) throws Exception {
service.addCategory(title, url, description,file);
return ResponseEntity.status(HttpStatus.OK).build();
}