コード例 #1
0
        public static Domain.FlightOfPassenger.FlightOfPassenger Create(FlightOfPassengerView ofPassengerView)
        {
            var d = new FlightOfPassengerData();

            Copy.Members(ofPassengerView, d);

            return(new Domain.FlightOfPassenger.FlightOfPassenger(d));
        }
コード例 #2
0
        public static FlightOfPassengerView Create(Domain.FlightOfPassenger.FlightOfPassenger o)
        {
            var v = new FlightOfPassengerView();

            if (!(o?.Data is null))
            {
                Copy.Members(o.Data, v);
            }

            return(v);
        }