static void AddNewEmployees(IEmployeeCollection employeeCollection) { //Add a couple of Salary Employees employeeCollection.add("James", "Kirk", new DateTime(2016, 4, 4), 549m); employeeCollection.add("Jean-Luc", "Picard", new DateTime(2016, 5, 14), 609m); //Add a couple of Hourly Employees employeeCollection.add("Benjamin", "Sisko", new DateTime(2016, 4, 4), 49m, 40); employeeCollection.add("Johnathan", "Archer", new DateTime(2016, 4, 4), 54m, 20); }
static void PrintEmployees(IEmployeeCollection employeeCollection) { Console.WriteLine(employeeCollection.GetPrintString()); }
public EmployeeController(IEmployeeCollection employeeModel) { this.employeeModel = employeeModel; }