예제 #1
0
        public static TimetableEntry Create(TimetableEntryView v)
        {
            var d = new TimetableEntryData();

            Copy.Members(v, d);

            return(new TimetableEntry(d));
        }
예제 #2
0
        public static TimetableEntryView Create(TimetableEntry o)
        {
            var v = new TimetableEntryView();

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

            return(v);
        }