Dear All,
I am beginner in ASP .net MVC and Angular 5.
I was trying to call multiple htttp get using Angular 5 to Single API controller of MVC.
But I am getting Error status code of 400.
When I am trying to change signature even at that time I am getting same Error.
I have following Http Get Methods :-
- public List<Student> GetStudentList(int studentID)
- {
- return _libraryRepository.GetStudentList(studentID);
- }
-
- public List<Teacher> GetteacherList(int teacherID)
- {
- return _libraryRepository.GetTeachertList(teacherID);
- }
along with tath I want to call some more Get with paramter or without parameter.
Please help me to overcome this problem.
Thanking You in advance.