class RejectionReasonServiceImpl implements RejectionReasonService {

    @Override
    public ServiceResult<List<RejectionReasonResource>> findAllActive() {
        return serviceSuccess(simpleMap(rejectionReasonRepository.findByActiveTrueOrderByPriorityAsc(), rejectionReasonMapper::mapToResource));
    }

}