class ApplicationNotificationTemplateServiceImpl extends BaseTransactionalService implements ApplicationNotificationTemplateService {

    @Override
    public ServiceResult<ApplicationNotificationTemplateResource> getIneligibleNotificationTemplate(long competitionId) {
        return renderTemplate(competitionId, "ineligible_application.html", (competition) -> {
            Map<String, Object> arguments = new HashMap<>();
            arguments.put("competitionName", competition.getName());
            return arguments;
        });
    }

}