예제 #1
0
        public JsonResult CalByDay()
        {
            var            startDate = UrlManager.FormDateTime("start_date") ?? DateTime.Now.Date;
            var            days      = UrlManager.FormInt("days") ?? 1;
            WorkdayService service   = new WorkdayService();
            var            result    = service.CalByDay(startDate, days);

            return(Json(result));
        }