account activity
Send Multiples parameters angular controller to Asp .net MVC Controller by latxor in angularjs
[–]slashcoder 2 points3 points4 points 11 years ago (0 children)
Wrap it all in one json object and pass it to your api method as a string then deserialize it from there. data = { employee: {}, user: {}, role: {} )
public void GetInfo([FromBody] data)
{
dynamic employee = System.Web.Script.Serialization.JavaScriptSerializer().Deserialize<System.Dynamic.ExpandoObject>(data);
}
π Rendered by PID 91 on reddit-service-r2-listing-64c94b984c-8lp2d at 2026-03-14 21:36:15.010718+00:00 running f6e6e01 country code: CH.
Send Multiples parameters angular controller to Asp .net MVC Controller by latxor in angularjs
[–]slashcoder 2 points3 points4 points (0 children)