❔ How to pass JS object to function.
How do I pass the JS object to the C# function in that it accepts it as an object of a defined Class?
I looked at an example using Ajax (don't know if that has to do with anything).
https://www.dotnettricks.com/learn/webapi/how-to-pass-javascript-complex-object-to-aspnet-web-api-and-mvc
I'm getting null values.
I tried removing JSON.stringify, but no luck.
Thank you
I looked at an example using Ajax (don't know if that has to do with anything).
https://www.dotnettricks.com/learn/webapi/how-to-pass-javascript-complex-object-to-aspnet-web-api-and-mvc
I'm getting null values.
I tried removing JSON.stringify, but no luck.
Thank you