posted 1 year ago
Hello everyone,
I have 2 entities Answer and Question with many-to-one relation as given below.
And I have QuestionRequestDTO with List<AnswerRequestDto>:
I have no idea how to connect these classes with mapstruct, servise, Restcontroller, Repository.
I try do it so:
I have no idea how to receive DTO in service and save in Repository, call in RestController...