I been stuck in a situation and I tried finding the solution for it on net but was not successful. I am new to MVC with Entity Framework, and it is throwing the exception wh
Add a new object or instance with the correct type
@Html.Partial("_LoginPartial", new MVCTest.Models.LoginViewModel())