ShowList funtion in DRY section does not return a list
Author: mdgr3301Created Apr 11, 2022Updated Apr 12, 2022
ShowList funtion should return an object of List, currently does not return anything
public List ShowList(Employee employees) { foreach (var employee in employees) { var expectedSalary = employees.CalculateExpectedSalary(); var experience = employees.GetExperience(); var githubLink = employees.GetGithubLink(); var data = new[] { expectedSalary, experience, githubLink };
render(data);
}
}
Source: thangchung/clean-code-dotnet