public async Task AddOrUpdateDeviceAsync(InitialDeviceConfig deviceConfig)
 {
     var deviceEnity = new DeviceListEntity()
     {
         DeviceId = deviceConfig.DeviceId,
         HostName = deviceConfig.HostName,
         Key = deviceConfig.Key
     };
     var operation = TableOperation.InsertOrReplace(deviceEnity);
     await _azureTableStorageClient.ExecuteAsync(operation);
 }
 public async Task AddOrUpdateDeviceAsync(InitialDeviceConfig deviceConfig)
 {
     var devicesTable = await AzureTableStorageHelper.GetTableAsync(_storageConnectionString, _deviceTableName);
     var deviceEnity = new DeviceListEntity()
     {
         DeviceId = deviceConfig.DeviceId,
         HostName = deviceConfig.HostName,
         Key = deviceConfig.Key
     };
     var operation = TableOperation.InsertOrReplace(deviceEnity);
     await devicesTable.ExecuteAsync(operation);
 }