Example #1
0
        public Task AddAsync(string withdrawalId, string message, string techData)
        {
            var now = DateTime.UtcNow;

            return(_tableStorage.InsertAndGenerateRowKeyAsDateTimeAsync(
                       WithdrawalLogEntity.Create(withdrawalId, message, techData, now), now));
        }
Example #2
0
 public async Task <IReadOnlyList <IWithdrawalLog> > GetWithdrawalLogsAsync(string id)
 {
     return((await _tableStorage.GetDataAsync(WithdrawalLogEntity.GetPk(id))).ToList());
 }