Question: how to pass data from view to controller using tempdata?
Answer: Use an HTML <form> with input fields that will send the data to the server., Use an anchor and pass data as query string parameters to the controller., Use javascript and send an AJAX request or a redirect to the server.