public static HoliDayJson ToJson(Holiday holiday)
        {
            var json = new HoliDayJson();

            json.CalendarID = holiday.CalendarID;
            json.ID         = holiday.ID;
            json.Date       = DateUtility.GetPersianDate(holiday.Date);
            return(json);
        }
        public static Holiday ToHoliday(HoliDayJson json, Guid id)
        {
            var holiday = new Holiday();

            holiday.CalendarID = id;
            if (json.ID == Guid.Empty)
            {
                holiday.ID = Guid.NewGuid();
            }
            else
            {
                holiday.ID = json.ID;
            }
            holiday.Date = DateUtility.GetMiladiDate(json.Date);
            return(holiday);
        }