Passing Data From a Controller to a View
In an MVC request processing model,Its very important to know how to pass data from MVC controller to view. In below we will discuss some following ways 1)ViewData 2)ViewBag 3)TempData 4)View Model Object 5)Strongly-typed View Model Object 1) ViewData: Its a simple way to pass data from controller to view to use “ViewData” property. ViewData… Read More »