Esempio n. 1
0
        public static Domain.Training.Training Create(TrainingView view)
        {
            var d = new TrainingData();

            Copy.Members(view, d);

            return(new Domain.Training.Training(d));
        }
Esempio n. 2
0
        public static TrainingView Create(Domain.Training.Training obj)
        {
            var v = new TrainingView();

            Copy.Members(obj.Data, v);

            return(v);
        }