예제 #1
0
 public async Task DeleteAsync(IOvernightSwapState obj)
 {
     var entity = OvernightSwapStateEntity.Create(obj);
     await _tableStorage.DeleteIfExistAsync(entity.PartitionKey, entity.RowKey);
 }
예제 #2
0
 public async Task AddOrReplaceAsync(IOvernightSwapState obj)
 {
     await _tableStorage.InsertOrReplaceAsync(OvernightSwapStateEntity.Create(obj));
 }