public static void GenerateCategories(this ITableContext context, Authentication authentication, int tryCount) { for (var i = 0; i < tryCount; i++) { context.GenerateCategory(authentication); } }
public static void Generate(this ITableContext context, Authentication authentication) { if (RandomUtility.Within(25) == true) { context.GenerateCategory(authentication); } else { context.GenerateTable(authentication); } }