AspNetCore.Docs/aspnetcore/data/ef-mvc/intro
Lee Dumond b0271a9126 Fix null reference exception (#2247)
Line 146 runs inside of a block for which departmentToUpdate == null. Therefore, the attempt to read departmentToUpdate.InstructorID leads to a null reference exception.

The code is re-displaying the properties of the deletedDepartment, so the selected member of the select list should be deletedDepartment.InstructorID
2016-11-28 14:10:18 -08:00
..
_static Add docfx content 2016-10-28 10:35:15 -07:00
samples Fix null reference exception (#2247) 2016-11-28 14:10:18 -08:00