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.
You have used id to submit button so must put # before btnDelete
Hope This will help you.