Christian Proto

    0

    0

    Cris Proto

    }

    The save() method saves the given Film object to the film repository. The setId() method sets the assigned id for the Film object to the given value.

    public FilmDto save(FilmDto filmDto) {
      Film film = modelMapper.map(filmDto, Film.class);
      film = this.filmRepository.save(film);
      filmDto.setId(film.getId());
      return filmDto;
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.