public PartialViewResult HoliDayDataView(string theDate)
        {
            string thedate = CharacterUtil.ConvertToEnglishDigit(theDate);
            //PersianDateTime.GetLongHoliDays(Convert.ToInt32(thedate.Substring(0, 4)));
            var result = PersianDateTime.GetLongHoliDays(Convert.ToInt32(thedate.Substring(0, 4)));

            foreach (var itemX in result)
            {
                foreach (var itemY in itemX)
                {
                    if (itemY.DateMetaDatas.Count(a => a.IsHoliDay) == 0)
                    {
                        itemY.DateMetaDatas = new List <DateMetaData> {
                            (new DateMetaData {
                                Id = itemY.ToString("yyyy-MM-dd"), IsHoliDay = true, CalenderType = CalenderType.Jalali, DateType = DateType.HoliDay, Description = "تعطیلی آخر هفته"
                            })
                        };
                    }
                }
            }
            List <PersianDateTime> MainResult = new List <PersianDateTime>();

            foreach (List <PersianDateTime> item in result)
            {
                MainResult.AddRange(item);
            }
            return(PartialView("_BestHolidays", result));
        }
        public PartialViewResult DateDataView(string theDate)
        {
            string          thedate         = CharacterUtil.ConvertToEnglishDigit(theDate);
            PersianDateTime persianDateTime = new PersianDateTime(thedate);

            return(PartialView("_DateDataView", persianDateTime));
        }