Skip to content

ShowList funtion in DRY section does not return a list #113

Description

@mdgr3301

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);
}

}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions