public void CreateCorporateAccountTester() { _corporateAccountEditModel.OrganizationEditModel.OrganizationType = OrganizationType.CooperateAccount; var corporateAccount = Mapper.Map <CorporateAccountEditModel, CorporateAccount>(_corporateAccountEditModel); var accountId = _organizationService.Create(_corporateAccountEditModel.OrganizationEditModel); corporateAccount.Id = accountId; var customerTestDependency = _corporateAccountRepository.GetAccountCustomerResultTestDependency(accountId); var pcpTestDependency = _corporateAccountRepository.GetAccountPcpResultTestDependency(accountId); var healthPlanResultTestDependency = _corporateAccountRepository.GetAccountHealthPlanResultTestDependency(accountId); _corporateAccountRepository.SaveAccount(corporateAccount, _corporateAccountEditModel.ShippingOptionIds, customerTestDependency, pcpTestDependency, healthPlanResultTestDependency); }