private void SetupUsers(ScenarioDefinition scenarioDefinition, long scenarioSessionId) { foreach (var scenarioAccount in scenarioDefinition.Setup.Accounts.Where(a => a.AccountType == AccountType.User)) { long accountId = _accountsService.Create(AccountType.User, scenarioAccount.AccountInfo, "qqq", true); _dataAccessService.AddScenarionSessionAccount(scenarioSessionId, accountId); } }