Beispiel #1
0
            public static Passager Passager(Guid id, string name, string type, string seat)
            {
                Passager passager = new Passager()
                {
                    Id   = id,
                    Name = name,
                    Type = type,
                    Seat = seat
                };

                return(passager);
            }
Beispiel #2
0
            public static Passager PassagerWithAirplane(Guid id, string name, string type, string seat, Guid?idAirplane)
            {
                Passager passager = new Passager()
                {
                    Id         = id,
                    Name       = name,
                    Type       = type,
                    Seat       = seat,
                    IdAirplane = idAirplane,
                };

                return(passager);
            }