"PermissionRefusals", User.findByEmail(request().username()), resList, ""
)
);
}
public static Result edit(Long id) {
<BUG>PermissionRefusal refusal = PermissionRefusal.findById(id);
User user = User.findByEmail(request().username());</BUG>
Form<PermissionRefusal> refusalForm = Form.form(PermissionRefusal.class);
refusalForm = refusalForm.fill(refusal);
Map<String,String> refusalTypes = Const.RefusalType.options();

"PermissionRefusals", User.findByEmail(request().username()), resList, ""
)
);
}
public static Result edit(Long id) {
PermissionRefusal refusal = PermissionRefusal.findById(id);
if (refusal == null) return notFound("There is no Permission Refusal with ID " + id);
User user = User.findByEmail(request().username());
Form<PermissionRefusal> refusalForm = Form.form(PermissionRefusal.class);
refusalForm = refusalForm.fill(refusal);
Map<String,String> refusalTypes = Const.RefusalType.options();
