Esempio n. 1
0
        public void DeleteEmployee()
        {
            Console.WriteLine("Select Employee to delete : ");
            ListEmployees();
            int id = int.Parse(Console.ReadLine());
            var EmployeeToDelete = _phpRepo.GetEmployeeById(id);

            _phpRepo.DeleteEmployee(EmployeeToDelete);
        }