Article: Insert (Save) Multiple rows (records) to database using Entity Framework in ASP.Net MVC
Hello i have tried with same code but for asp mvc core (.NET 8) but unfortunately in controller List<Customer> customers after i made the json call came with 0 items.
Can you provide suggestions what might be the problem?
Refer below link.
Thanks @dharmendr
Now it works fine for me
I have added [FormBody] in controller' action and now works.
Thanks,
Ioan
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.