class CategoryServiceImpl extends BaseTransactionalService implements CategoryService {

    @Override
    public ServiceResult<List<InnovationAreaResource>> getInnovationAreasBySector(long sectorId) {
        return find(innovationSectorRepository.findById(sectorId), notFoundError(InnovationSector.class, sectorId))
                .andOnSuccess(this::getInnovationAreasFromParent);
    }

}