Exemplo 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));
        }
Exemplo n.º 2
0
        public static TrainingView Create(Domain.Training.Training obj)
        {
            var v = new TrainingView();

            Copy.Members(obj.Data, v);

            return(v);
        }