I have a model similar to this:
public class SampleModel { public Product Product { get; set; } }
And in my controller I get an excep
Seems like your view is typed dynamic. Set the right type on the view and you'll see the error go away.
dynamic