Exemplo n.º 1
0
        public static TimetableEntry Create(TimetableEntryView v)
        {
            var d = new TimetableEntryData();

            Copy.Members(v, d);

            return(new TimetableEntry(d));
        }
Exemplo n.º 2
0
        public static TimetableEntryView Create(TimetableEntry o)
        {
            var v = new TimetableEntryView();

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

            return(v);
        }