Is possible to have asynchronous and synchronous action methods in an AsyncController
? Is there any drawback doing this?
The reason is that an asynchronous operation makes sense for a time consuming operation, but does not make sense for return a form in HTML.
For example, I have a page that generates a file. The action method that returns the form with the inputs has almost no logic, but the action method that receives the POST, send it to another web service and relay the response takes some time, so it will make sense to do it asynchronously.
I could put those methods in separated controllers, one synchronous and another synchronous, but I would like to keep them together.
Cheers.