public override void SetCustomData(string customData)
        {
            AlbumOptimizationTaskState albumOptimizationTaskState = JsonConvert.DeserializeObject <AlbumOptimizationTaskState>(customData);

            this.AlbumId = albumOptimizationTaskState.AlbumId;
        }
        public override string GetCustomData()
        {
            AlbumOptimizationTaskState albumOptimizationTaskState = new AlbumOptimizationTaskState(this);

            return(JsonConvert.SerializeObject(albumOptimizationTaskState));
        }
 public override string GetCustomData()
 {
     AlbumOptimizationTaskState albumOptimizationTaskState = new AlbumOptimizationTaskState(this);
     return JsonConvert.SerializeObject(albumOptimizationTaskState);
 }