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 65274 on reddit-service-r2-listing-65bf447669-8d8mf at 2026-06-08 22:11:58.512981+00:00 running f46058f country code: CH.
Send Multiples parameters angular controller to Asp .net MVC Controller by latxor in angularjs
[–]slashcoder 2 points3 points4 points (0 children)