class GenericQuestionApplicationController {

    @PostMapping(params = "assign")
    public String assignToLeadForReview(@ModelAttribute(value = "form") GenericQuestionApplicationForm form,
                                        BindingResult bindingResult,
                                        ValidationHandler validationHandler,
                                        Model model,
                                        @PathVariable long applicationId,
                                        @PathVariable long questionId,
                                        UserResource user,
                                        HttpServletResponse response) {
        cookieFlashMessageFilter.setFlashMessage(response, "assignedQuestion");
        questionStatusRestService.assign(questionId, applicationId, getLeadProcessRole(applicationId).getId(), getUsersProcessRole(applicationId, user).getId()).getSuccess();
        return redirectToQuestion(applicationId, questionId);
    }

}