how to save multiple records by clicking single click

Nov 7 2018 5:56 AM
Hi
I am developing application in asp.net mvc core.I want to save multiple records by single save button
I used "https://www.aspsnippets.com/Articles/Insert-Save-Multiple-rows-records-to-database-using-Entity-Framework-in-ASPNet-MVC.aspx"
In the code everything is working fine but in customers.push(customer) .customers does not have values .It is showing 0 in " InsertCustomers" function in
customercontroller
i have given code in attachment and it is urgent one.Is there any other sample to continue the project?
Please help me

Attachment: program.rar

Answers (1)