SamuelRocha2015 / travel-manager-api

Travels Manager is a Spring Boot API for create travel budgets.
1 stars 0 forks source link

EmployeeController BUGS #25

Closed SamuelRocha2015 closed 4 years ago

SamuelRocha2015 commented 4 years ago

In the class EmployeeController there are some errors:

  1. Return a UserDTO:

image

  1. The method is called "createAppointment":

image

QueirozDavi commented 4 years ago

I don't agree with the first point, this is a create context, we must return a User object, not a DTO. The second point was fixed.