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