Skip to content

Commit

Permalink
feat: Added deleteById
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-merlin committed Apr 4, 2024
1 parent eddd28c commit d0d9e10
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ public ApplicationForm submitApplicationForm(@RequestBody ApplicationForm applic
public ApplicationForm updateApplicationForm(@RequestBody ApplicationForm applicationForm) {
return applicationFormService.updateApplicationForm(applicationForm);
}

@DeleteMapping
public void deleteApplicationFormById(@Param("applicationFormId") String applicationFormId) {
applicationFormService.deleteApplicationFormById(Long.parseLong(applicationFormId));
}
}

0 comments on commit d0d9e10

Please sign in to comment.