public void addGroupOwnership(StepsovcCase stepsovcCase) {
    Beneficiary beneficiary =
        allBeneficiaries.findBeneficiaryByCode(stepsovcCase.getBeneficiary_code());

    if (beneficiary != null) {
      commcareGateway.addGroupOwnership(
          populateBeneficiaryCase(stepsovcCase, beneficiary), stepsovcCase.getFacility_code());
    }
  }
  public void addUserOwnership(StepsovcCase stepsovcCase) {
    Beneficiary beneficiary =
        allBeneficiaries.findBeneficiaryByCode(stepsovcCase.getBeneficiary_code());
    Caregiver caregiver = allCaregivers.findCaregiverByCode(stepsovcCase.getCaregiver_code());

    if (beneficiary != null && caregiver != null) {
      commcareGateway.addUserOwnership(
          populateBeneficiaryCase(stepsovcCase, beneficiary), caregiver.getCgId());
    }
  }
 public void changeOwnershipForRequestOwnershipCase(StepsovcCase stepsovcCase) {
   commcareGateway.addGroupOwnership(
       new BeneficiaryMapper().createOwnershipInfo(stepsovcCase), CommcareGateway.ALL_USERS_GROUP);
 }