Hi
Your error shows that you didn't describe your model in a view page. That's why you get an error on for-each. So first, try to run code after mentioning model class in view.
Next, Make correction in your JavaScript code:
$('btnDelete').click(function (e){
You have used id to submit button so must put # before
btnDelete like this:
$('#btnDelete')
Hope This will help you.
Thank you.