コード例 #1
0
        private static void addingRecord()
        {
            Employee emp = createEmployee();

            //Pass the object to the AddNewEmployee function of the interface object.
            component.AddNewEmployee(emp);
            Console.WriteLine("Employee is added successfully");
        }