Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Faced such a problem
When prompted, does not see the sorting Random()
On version 7.X, I successfully applied this sorting technique
Use this method:
Model.Parent.Children.Where(x => x.Id != Model.Id).OrderBy(t => Guid.NewGuid()).Take(6)
It turns out method Random () removed ?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted