예제 #1
0
        public static AirlineEmployee Copy(AirlineEmployee airlineEmployee)
        {
            AirlineEmployee r = new AirlineEmployee(airlineEmployee.firstName, airlineEmployee.lastName, airlineEmployee.airline);

            r.id = airlineEmployee.id;

            return(r);
        }
예제 #2
0
 public void AddAirlineEmployee(AirlineEmployee airlineEmployee)
 {
     employees.Add(airlineEmployee);
 }