Fix to problem .NET MVC Core -Object reference not set to an instance of an object in Related Table