/// <summary> /// Requests a new account registration from the account server. /// </summary> /// <param name="username">The username to register</param> /// <param name="password">The password to register</param> public void RegisterAccount(Account.AccountRegistrationRequestModel requestModel) { if (_connection.BeginRegisterAccount(requestModel) != BeginRequestStatusCode.Ok) { MessageBox.Show("There was an error processing your request; please try again later."); } }