Html – Error when using List<Model> from ViewModel in View in ASP.NET Core MVC
I am currently using this method in different view with no error, yet it is now giving error in a new view- System.NullReferenceException: 'Object reference not set to an instance of an object.' Microsoft.AspNetCore.Mvc.Razor.RazorPage.Model.get returned null. System.NullReferenceException HResult=0x80004003 Message=Object reference…