Dear All,
I was developing one component in Angular 5 along with ASP .net MVC using REST API.
My requirement is that I just want to pass some which is stored in array in Angular 5 side which I want to pass to Web API controller.
I was trying with following methods but could not able to point while debugging -
- [HttpPost]
- public void PostStudentTeacher([FromBody]Student objStudent,[FromBody]Teacher objTeacher)
- {
-
- }
-
-
- [HttpPost]
- public void PostStudentTeacher(Student objStudent,Teacher objTeacher)
- {
-
- }
I was unable to call that function.
Please let me know how can I overcome on above problem.
Thanking You in advance.