I am using EF 4.1 Code First and for the sake of simplicity, let\'s say I have the following Entity class:
public class Person { public
Like this:
You need Url.Action and not Html.Action because you just want to generate an url to the GetImg action. Html.Action does something entirely different.
Url.Action
Html.Action
GetImg