Question: how to pass data from controller to model in mvc?
Answer: @using PassDatainMVC.Models.
@model PassDatainMVC.Models.Record.
@{
ViewBag.Title = "Index";
}
<h3>Passing Data From Controller To View using Model Class Object</h3>
<h3>Id: @Model.Id</h3>