コード例 #1
0
 static void Main(string[] args)
 {
     try
     {
         BusinessManager manager = BusinessManager.Instance;
         manager.AjouterEmployee(new Employee());
         List <Employee> employees = manager.GetAllEmployee();
         System.Console.WriteLine("---- LISTE DES EMPLOYEE -----");
         foreach (Employee c in employees)
         {
             System.Console.WriteLine("Employee ID {0} : {1}", c.Id, c.Nom);
         }
     } catch (Exception e) {
         e.ToString();
     }
 }