Esempio n. 1
0
        public static TimeModel ToTimeModel(this M.Time model)
        {
            var time = new TimeModel()
            {
                Hour   = model.Hour,
                Minute = model.Minute
            };

            return(time);
        }
Esempio n. 2
0
        public static M.Time ToTime(this TimeModel timeModel)
        {
            var time = new M.Time(timeModel.Hour, timeModel.Minute);

            return(time);
        }