public static DynamicPublishedContent Random(this DynamicPublishedContentList source) { return(new DynamicPublishedContent(source.OrderByRandom().First())); }
public static DynamicPublishedContentList Random(this DynamicPublishedContentList source, int max) { return(new DynamicPublishedContentList(source.OrderByRandom().Take(max))); }