Beispiel #1
0
        public static CommonCalendar CalendarToCommon(Calendar calendar)
        {
            CommonCalendar commonCalendar = new CommonCalendar()
            {
                Date      = calendar.Date,
                DayStatus = calendar.DayStatus
            };

            return(commonCalendar);
        }
Beispiel #2
0
        /****************Calendar***********************/

        public static Calendar CalendarToDB(CommonCalendar commonCalendar)
        {
            Calendar calendar = new Calendar()
            {
                Date      = commonCalendar.Date,
                DayStatus = commonCalendar.DayStatus
            };

            return(calendar);
        }