public async Task <CashoutRiskControlAggregate> TryGetAsync(Guid operationId)
        {
            var partitionKey = CashoutRiskControlEntity.GetPartitionKey(operationId);
            var rowKey       = CashoutRiskControlEntity.GetRowKey();

            var entity = await _storage.GetDataAsync(partitionKey, rowKey);

            return(entity?.ToDomain());
        }
        public async Task <CashoutRiskControlAggregate> GetOrAddAsync(Guid operationId, Func <CashoutRiskControlAggregate> newAggregateFactory)
        {
            var partitionKey = CashoutRiskControlEntity.GetPartitionKey(operationId);
            var rowKey       = CashoutRiskControlEntity.GetRowKey();

            var startedEntity = await _storage.GetOrInsertAsync(
                partitionKey,
                rowKey,
                () =>
            {
                var newAggregate = newAggregateFactory();

                return(CashoutRiskControlEntity.FromDomain(newAggregate));
            });

            return(startedEntity.ToDomain());
        }