コード例 #1
0
        public static Domain.Luggage.Luggage Create(LuggageView view)
        {
            var d = new LuggageData();

            Copy.Members(view, d);

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

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

            return(v);
        }