public async Task <IEnumerable <IClientDialogSubmit> > GetSubmittedDialogsAsync(string clientId) { return(await _tableStorage.GetDataAsync(ClientDialogSubmitEntity.GeneratePartitionKey(clientId))); }
public Task <bool> IsDialogSubmittedAsync(string clientId, string dialogId, string actionId) { return(_tableStorage.RecordExistsAsync(ClientDialogSubmitEntity.Create(clientId, dialogId, actionId))); }
public async Task SubmitDialogAsync(string clientId, string dialogId, string actionId) { await _tableStorage.InsertOrReplaceAsync(ClientDialogSubmitEntity.Create(clientId, dialogId, actionId)); }