title: Pass value from URL into View ASP.NET MVC
body: <p>I'm trying to pass the id value of the url into a textboxfor of a view like the picture below,and i have no idea how to do it.
  <a href="https://i.stack.imgur.com/Eh9rS.png" rel="nofollow noreferrer">here's the image</a></p>
  
  <p>update, the problem is that value of id is pass from another view by action link like this </p>
  
  <pre><code>@Html.ActionLink("Chose Car Type for Car", "Addcar", "Car", new { id = item.Ctid }, null)|
  </code></pre>
  
  <p>so what i want is to pass an attribute from two different views belong to 2 different controller and different action, how can i do that, i just need to make the attribute from one view appear in other under any type like viewbag or anything.</p>