public async Task <bool> ExistAsync(Guid operationId, OperationEventType type) { return(await _storage.GetDataAsync(OperationEventTableEntity.GeneratePartitionKey(operationId), OperationEventTableEntity.GenerateRowKey(type)) != null); }
public async Task InsertIfNotExistAsync(IOperationEvent operationEvent) { await _storage.CreateIfNotExistsAsync(OperationEventTableEntity.Create(operationEvent)); }