Beispiel #1
0
 private static async Task SaveSubItem(SubItems subitm)
 {
     if (subitm == null)
     {
         return;
     }
     using (var ctx = new SubItemsService())
     {
         await ctx.UpdateSubItems(subitm).ConfigureAwait(false);
     }
 }
Beispiel #2
0
 public async Task SaveSubItems(SubItems i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new SubItemsService())
     {
         await ctx.UpdateSubItems(i).ConfigureAwait(false);
     }
 }