I need shuffle to find a random content in the database but it will have a big impact if I find out about where to issues that are in the database.
I have look her: https://stackoverflow.com/a/654910/7180653
This is how I've tried to do it as I have described. But it gives error in my value in return.
Random rnd = new Random();
int value = rnd.Next(db.Quiz.ToList().Count());
List <QuizModelView> result = db.Quiz.Select(x => new QuizModelView
{
Heading = x.Heading,
ReplayText = x.Reply.Text,
ReplayCheck = x.Reply.CheckReply
}).ToList();
return result.Shuffle(value);