Guest User

Untitled

a guest
Apr 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. var twentyMostViewedPosts = context.Articles
  2. .Where(a => a.IsPublished)
  3. .OrderBy(a => a.Views).Take(20);
Add Comment
Please, Sign In to add comment