I need to send 3 diferentes object from angular controller to Asp MVC controller using restangular, $http or resources, my objects are:
Employee ={Name:"Amy", Age:"17", Email:"[email protected]"};
User={UserName:"Amy17", Password:"test123"};
Role ={IdRole="11", Name:"User"}
and my method in asp mvc controller
Public void GetInfo(Employee _employee, User _user, Role _role)
{....}
I dont want to use a viewmodel, like:
Public Class VmGetInfo
{
Public Employee Employee {get; set;}
Public User User {get; set;}
Public Role Role {get; set;}
}
how i can do that using?
I dont want to use a viewmodel, like
...any particular reason why you don't want to use that? Because that would definitely be right. – ethorn10 18 hours ago