Hi Patrick,
Very good article. I have a suggestion for the naming of the Dto's. Instead of putting the verb at the beginning, like 'AddCharacterDto', I would write it like CharacterAddDto. You could then say: it's an AddDto for Character. This could also be applied for 'GetCharacterDto' by naming it 'CharacterGetDto'. So a GetDto for Character or CharacterUpdateDto, for an UpdateDto for Character.
The naming approach is also in line with CharacterController and CharacterService.
regards,
Henk
Hi Patrick,
Very good article. I have a suggestion for the naming of the Dto's. Instead of putting the verb at the beginning, like 'AddCharacterDto', I would write it like CharacterAddDto. You could then say: it's an AddDto for Character. This could also be applied for 'GetCharacterDto' by naming it 'CharacterGetDto'. So a GetDto for Character or CharacterUpdateDto, for an UpdateDto for Character.
The naming approach is also in line with CharacterController and CharacterService.
regards,
Henk
Hi Henk,
Thanks for sharing that. Good point! :)
Take care,
Patrick