Hi, i’m new to c# and just couldn’t grasp how can i send data from my controller wich returns BlogViewModel. BlogViewModel from my understanding should contain the latest 10posts and all the posts. The 10 posts are in 1 page, and for every post i created a partial view(image 4).
I don’t know how can i read my BlogViewModel data in the posts view to display the 10 posts and then render the partial view with the body of the post.
Here are some pictures of how my project is set: