private EmployeeController(EmployeeRepository employeeRepository, EmployeeMapper employeeMapper) { this.employeeRepository = employeeRepository; this.employeeMapper = employeeMapper; }
/// <summary> /// Main entry point of the Controller. /// Called once (from App.xaml.cs) this will initialise the application /// </summary> public void Start() { context_db = new FinalProjectDatabase(); empRep = new EmployeeRepository(context_db); ShowViewEmployeeSelection(); }