E
E
Exxplozer2014-07-11 17:43:26
JavaScript
Exxplozer, 2014-07-11 17:43:26

How to pass data from WEB API controller to View and vice versa?

What is the correct / better way to pass data to the view from the web api controller using jquery + ajax or in the controller of the View itself using the HttpClient () class

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2014-07-13
@Eugene22

the web api controller receives data from the database and passes it to the view, everything is almost the same as with regular controllers

C
Cyril, 2014-07-16
@llirikkkk

you can use ajax

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question