private async Task WriteState(string state)
 {
     foreach (var partitionKey in this.PartitionKeys())
     {
         await StateTableEntity.Write(partitionKey, state, this.storageConnectionString, this.simulatorStateTableName);
     }
 }
 async Task WriteState(string state)
 {
     foreach (var partitionKey in _deviceService.GetDeviceIds())
     {
         await StateTableEntity.Write(partitionKey, state, _storageConnectionString, _simulatorStateTableName);
     }
 }