I am a real beginner in MVC. I am getting all the records from the DB. How can I display it in a view. In the code I am sending it to the view. But how can I display all the records.
public ActionResult Details()
StudentContext studentcontext = new StudentContext() ;
Thanks in advance.