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