Skip to content

Added EmergencyContact entity and CRUD for it#48

Open
alecstincu wants to merge 2 commits intocode4romania:developfrom
alecstincu:emergency-contacts-new
Open

Added EmergencyContact entity and CRUD for it#48
alecstincu wants to merge 2 commits intocode4romania:developfrom
alecstincu:emergency-contacts-new

Conversation

@alecstincu
Copy link

@alecstincu alecstincu commented Apr 1, 2020

What does it fix?

#31
#30

How has it been tested?

Tested locally all endpoints.

@vercel
Copy link

vercel bot commented Apr 1, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/code4ro/next-door/pbg2b3zwm
✅ Preview: https://next-door-git-fork-alecstincu-emergency-contacts-new.code4ro.now.sh

@PostMapping
@ApiOperation(value = "Saves an Emergency Contact")
public ResponseEntity<EmergencyContactDto> save(@RequestBody EmergencyContactDto emergencyContactDto) {
final EmergencyContactDto savedEmergencyContact =
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you device do add finals add them everywhere otherwise it's just noise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants