public async Task DeleteInstrument() { using (var store = new InstrumentStore(_container)) { await store.Delete(Instrument); } }
public async Task SaveAsync() { try { using (var store = new InstrumentStore(Container)) { await store.UpsertAsync(Instrument); } } catch (Exception ex) { Log.Error(ex); } }