Exemple #1
0
        public JsonResult IsExistsFinishedGame()
        {
            bool result = false;
            var memberId = this.GetMemberId();
            var systemDatetimeService = new SystemDatetimeService();
            var noticeService = new NoticeService(this.com, systemDatetimeService);
            var fromDate = Utils.GetStartOfDay(systemDatetimeService.SystemDate.AddDays(-1));
            var toDate = Utils.GetEndOfDay(systemDatetimeService.SystemDate);

            result = noticeService.NoticeExpectedGameInfo(memberId, fromDate, toDate, memberId);

            return Json(result, JsonRequestBehavior.AllowGet);
        }