@RequestMapping(value = "/save", method = RequestMethod.POST)
 @ResponseBody
 public long save(@RequestBody AllocateTrainingViewModel viewModelEntity) {
   AllocateTraining modelEntity = ModelMapper.map(viewModelEntity, AllocateTraining.class);
   allocateTrainingService.save(modelEntity);
   iFileProviderService.confirmFileProvider(modelEntity.getFileCode());
   return modelEntity.getId();
 }