Resolve #80
This PR creates the API method for creating teams. POST requests should be made to /api/team. The request body should contain a teamName, an existing projectId and an existing locationId.
http://recordit.co/yaAHkkbM3R
EDIT:
Now also resolves #82
This addition creates the ability to add or remove a contractor from a team.
PUT requests should be made to /api/contractor/team/add or /api/contractor/team/remove (depending on what you want to do.
Request body should contain an existing contractorId and an existing teamId.
http://recordit.co/J1QapQqqvo
Resolve #80 This PR creates the API method for creating teams. POST requests should be made to /api/team. The request body should contain a teamName, an existing projectId and an existing locationId. http://recordit.co/yaAHkkbM3R
EDIT: Now also resolves #82 This addition creates the ability to add or remove a contractor from a team. PUT requests should be made to /api/contractor/team/add or /api/contractor/team/remove (depending on what you want to do. Request body should contain an existing contractorId and an existing teamId. http://recordit.co/J1QapQqqvo