I'm noobie in this, but I'm learning.
This is an database SQL question. This was really easy in classic ASP.
I have 2 tables in my database. Books and genre.
In my show books page, you'll get from db:
| Book name | book Author | book genre |
+-----------+-------------+------------+
| eden | paulo | 1 |
| mystic | paulo | 2 |
The genre is
| id | book genre |
+-----+------------+
| 1 | action |
| 2 | horror |
What I like is
| Book name | book Author | book genre |
+-----------+-------------+------------+
| eden | paulo | action |
| mystic | paulo | horror |
As I said earlier this was super easy in classic asp.
How can I do this in ASP.NET MVC with Razor?
Best, Andy