I'm just starting with nest js and i have a question with prisma and DTO i don't know what is the best practice.
I have see in a tutorial that they use :
return this.databaseService.employee.create({
data: createEmployeeDto,
});
}
He doesn't use the create-employee.dto.ts. It's good ?
And can you have some advance example with prisma and RESTapi ? I don't find any ..
Thanks in advance !