class ApplicantDashboardController {

    @PostMapping(params = "delete-application")
    public String deleteApplication(@RequestParam("delete-application") long applicationId) {
        applicationRestService.deleteApplication(applicationId);
        return format("redirect:/applicant/dashboard");
    }

}