AspNetCore.Docs/aspnetcore/data/ef-mvc/intro/samples
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
..
cu Fix null reference exception (#2247) 2016-11-28 14:10:18 -08:00
cu-final keywords and decription meta-data 2016-11-17 10:13:02 -10:00