public PermissioningApiService(IClient client) : base(client)
 {
     AddAccountsToWhitelist      = new PermAddAccountsToWhitelist(client);
     AddNodesToWhitelist         = new PermAddNodesToWhitelist(client);
     RemoveAccountsFromWhitelist = new PermRemoveAccountsFromWhitelist(client);
     RemoveNodesFromWhitelist    = new PermRemoveNodesFromWhitelist(client);
     GetAccountsWhitelist        = new PermGetAccountsWhitelist(client);
     GetNodesWhitelist           = new PermGetNodesWhitelist(client);
     ReloadPermissionsFromFile   = new PermReloadPermissionsFromFile(client);
 }
        public override async Task <string> ExecuteAsync(IClient client)
        {
            var permAddNodesToWhitelist = new PermAddNodesToWhitelist(client);

            return(await permAddNodesToWhitelist.SendRequestAsync(new[] { Settings.GetDefaultAccount() }));
        }