public static void MergeOrInsert <T>(this StorageContext context, T model) where T : new()
 {
     context.MergeOrInsertAsync <T>(new List <T>()
     {
         model
     }).GetAwaiter().GetResult();
 }
 public static void MergeOrInsert <T>(this StorageContext context, IEnumerable <T> models) where T : new()
 {
     context.MergeOrInsertAsync <T>(models).GetAwaiter().GetResult();
 }