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