Tag Info

New answers tagged


Yes, you should use an ajax call to send the request and receive the response, using the response data to determine whether to display an error message or close the modal dialog. As for where to place the action, while you certainly can create a separate WebAPI controller, and eventually you may decide to do so for architecture reasons, you can easily ...


Where we should put search action? In GET /search/:text. This will return a JSON array containing the matches, every match containing the album it belongs to. This makes sense, because the client may be interested not in the track itself, but the entire album (imagine that you are searching for a song which, you believe, was in the same album as the one ...

Top 50 recent answers are included