Passing an IEnumerable from view to controller in ASP.NET 8 MVC
My view:
nullreferenceexception: object reference not set to an instance of an object – can’t figure it out
Can anyone tell me where I am going wrong in this code? I cant figure out the null reference.
All my code is below. I am exhausting myself. This is for a school project.
I have tried several different things, but none have seemed to work. Any suggestions would be appreciated.It worked, but when I rebooted it today it no longer worked.