Created
May 5, 2021 08:32
-
-
Save usimsek/80d4d73fcae8e519f45108657e5cc6e3 to your computer and use it in GitHub Desktop.
Asp Net Core - View - Multiple “order by” in LINQ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var movies = _db.Movies.OrderBy(c => c.Category).ThenBy(n => n.Name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment