I've a js object like bellow:
$scope.docPropIdentityModel = {
Owner: {OwnerID:"", OwnerName: ""},
};
I want to send this object to my mvc controller through ajax call. Let say the controller is like:
controller(test_class model)
{
}
and the model is like:
test_class
{
public string Owner{get;set;};
}
I'm getting null in my controller. How can I map the js object value to my model?