I wanted to call a controller on Yes click( from a custom confirm modal) I am assuming the only way is AJAX and I wanted to redirect from that controller to another action controller to refresh the screen, the only way I could figure is to do from Pass redirect link in JSON and then redirect from ajax Success function, is there a way to redirect directly from controller 1 to another in case of ajax. The problem with this approach is a response comes from the back end to the front end and then refresh happens, is there any way to avoid this delay, I am trying to call and controller on the Yes button click ( some new javascript confirm modal ) & that required me to use Ajax and ajax not allowing me to redirect to another controller directly from one action method to another
example A- main controller, B - controller - performing some action on button click yes, C - my client-side I want to clock from C to B and then wanted to redirect to A but don't wanna return to C to redirect to A because it creates a delay.