Issue at Hand: I currently have a form with 10 fields, and the challenge lies in passing these 10 values to an ASP.Net MVC Action.
To tackle this, I utilize ng-click to send these values to the action which then forwards them to the database.
I find myself wondering if there exists something similar to an object in JavaScript/Angular. Posting all these parameters separately feels somewhat risky.
If only there was a way to submit these values as a single object...
Snippet of the Code
$scope.submit = function (p1, p2, p3, p4, p5, p6, p7, p8, p9, p10) {
$http({})
}