HR would like to know how much training each employee is taking by department. They would like a bar chart that displays each employee in a given department and shows the number of training program that employee is enrolled in. HR wants to see the total number of training programs. This includes both past and future programs.
- The responsibility for the HomeController is to populate the dropdown list.
- This new method should return a view that contains a dropdown to allow the user to select a department.
- When the user selects a department, javascript should run to fetch the employee training data from an API. (you will need to create the API controller).