示例#1
0
        public static Domain.Treatment.Treatment Create(TreatmentView v)
        {
            var d = new TreatmentData();

            Copy.Members(v, d);

            return(new Domain.Treatment.Treatment(d));
        }
示例#2
0
        public static TreatmentView Create(Domain.Treatment.Treatment o)
        {
            var v = new TreatmentView();

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