I\'m stumped with this one and your help would be most appreicated.
I get the error:
The parameter conversion from type \'System.String\' to t
I had the same name for the parameter on the GET method
[HttpGet]
public ActionResult Create(int OSSB)
.. and a property from Faturamento model, that was used on the POST method
[HttpPost]
public ActionResult Create(Faturamento model)
Just like this..
public class Faturamento {
[Column("ID_OSSB")]
public virtual int ID_OSSB { get; set; }
[ForeignKey("ID_OSSB")]
public virtual OSSB OSSB { get; set; }
...
}
What solved for me was changing the GET parameter name:
[HttpGet]
public ActionResult Create(int IDOSSB)