Example #1
0
        public static Coach Create(CoachView v)
        {
            var d = new CoachData();

            Copy.Members(v, d);

            return(new Coach(d));
        }
Example #2
0
        public static CoachView Create(Coach o)
        {
            var v = new CoachView();

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

            return(v);
        }