Closed fcatae closed 7 years ago
The problem is this code.
var filesList = new List<File>(); foreach (var f in workload.WBFilesList) { filesList.Add(new File() { FileID = f.Item1, FileLink = f.Item2, FileName = f.Item3, FileDescription = string.Empty, }); }
It also happens if Metrics, Technologies or Users are null.
Easy fix: check if it is null.
if ( workload.WBTechnologies != null )
The problem is this code.