public Account CreateAccount() { var account = new Account(); ListAccounts.Add(account); account.OnCallHandler += CallConnection; account.OnCallHandler += EndCall; account.OnSmsHandler += SmsConnection; account.OnSmsHandler += ReceiveSms; return(account); }
public Account CreateMobileAccount() { var mobileAccount = new Account(); ListAccounts.Add(mobileAccount); mobileAccount.OnCallHandler += CallConnection; mobileAccount.OnCallHandler += EndCall; mobileAccount.OnSmsHandler += SmsConnection; mobileAccount.OnSmsHandler += ReceiveSms; return(mobileAccount); }
public void Handle(Core.Boundaries.List.Response response) { ListAccounts.Add(response); }