Thanks for your feedback Martin.
I agree with you that it is better to use DTOs. That's what I do on big projects. It allows to better control the Inputs and to avoid problems when we make the code evolve.
But when I need an API for a small project and I want to go fast, I find it practical.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for your feedback Martin.
I agree with you that it is better to use DTOs. That's what I do on big projects. It allows to better control the Inputs and to avoid problems when we make the code evolve.
But when I need an API for a small project and I want to go fast, I find it practical.