public async Task <string> InsertAsync(IForwardWithdrawal forwardWithdrawal) { var entity = ForwardWithdrawalEntity.Create(forwardWithdrawal); await _tableStorage.InsertAsync(entity); return(entity.Id); }
public async Task SetLinkedCashInOperationId(string clientId, string id, string cashInId) { await _tableStorage.MergeAsync(ForwardWithdrawalEntity.GeneratePartitionKey(clientId), ForwardWithdrawalEntity.GenerateRowKey(id), entity => { entity.CashInId = cashInId; return(entity); }); }