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