public static async Task AddAccounts(int AccountCount) { IEnumerable <CustomerData> customers = RandomCustomerGenerator.GetCustomerList(AccountCount, false); foreach (CustomerData customer in customers) { Account newAccount = new Account { name = customer.Company, telephone1 = customer.WorkPhone, address1_primarycontactname = customer.FirstName + " " + customer.LastName, address1_line1 = customer.Address, address1_city = customer.City, address1_stateorprovince = customer.State, address1_postalcode = customer.ZipCode }; await CdsaManager.AddAccount(newAccount); } }