Question: how to pass html table data from view to controller?
Answer: When the Save All button is clicked, a loop is executed over all the rows of the HTML Table and a JSON array of Customer objects is generated. The JSON array is then sent to the Controller using jQuery AJAX function and once the response is received it is displayed using JavaScript Alert Message Box.