class ApplicantDashboardController {

    @PostMapping(params = "hide-application")
    public String hideApplication(@RequestParam("hide-application") long applicationId,
                                  UserResource user) {
        applicationRestService.hideApplication(applicationId, user.getId());
        return format("redirect:/applicant/dashboard");
    }

}