class SetupStatusServiceImpl implements SetupStatusService {

    @Override
    public ServiceResult<SetupStatusResource> saveSetupStatus(SetupStatusResource setupStatusResource) {
        SetupStatus setupStatusToSave = setupStatusMapper.mapToDomain(setupStatusResource);

        return serviceSuccess(
                setupStatusMapper
                        .mapToResource(setupStatusRepository
                                .save(setupStatusToSave)));
    }

}