class SeverityService {

    public List<SeverityDTO> getSeveritiesWithAll(long projectId) {
        final List<Severity> severities = repository.findAllByProjectIdOrderByPosition(projectId);
        severities.add(Severity.ALL);
        return mapper.toDto(severities);
    }

}