Esempio n. 1
0
 public static ScribblePersistDataModel GetScribbleDataModel(WorkTaskModel task, StorageIdentifier storageIdForRequest)
 {
     return new ScribblePersistDataModel(storageIdForRequest){
         RequestId = task.RequestId,
         Data = cryptoHelper.GetEncryptedString(task.RequestData),
         UrlId = task.Id
     };
 }
Esempio n. 2
0
 public ScribblePersistDataModel(StorageIdentifier storageIdFromUrl)
 {
     this.PartitionKey = storageIdFromUrl.Partitionkey.ToString();
     this.RowKey = storageIdFromUrl.RowKey.ToString();
 }