/// <summary> /// Deletes a database account and prompts for necesary inputs. /// </summary> public void DeleteDatabaseAccountWF() { string name = GeneralUtils.PromptInput("Please enter the name of a database account"); Task <ICosmosDBAccount> accountTask = this.acctUtil.SelectAccountByName(name); ICosmosDBAccount account = accountTask.Result; this.acctUtil.DeleteDatabaseAccount(account); acctUtil.RemoveDatabaseAccountInformation(name); Console.WriteLine("The database account {0} was removed. This change may not be reflected in the portal for several minutes.", name); Console.WriteLine("Please wait a minute for this to operation to go through before moving on to the next operation, otherwise azure will not process the request."); }