예제 #1
0
        //
        // GET: /Study/NoShow/
        //[Authorization(true)]
        public ActionResult Index()
        {
            var model = new SearchNoShowModel()
            {
                EndDate = DateTime.Now,
                BeginDate = DateTime.Now.Date.AddDays(-7).AddMilliseconds(-1)

            };
            return View(model);
        }
예제 #2
0
        public ActionResult NoShowList(SearchNoShowModel search, [DefaultValue(1)]int pageIndex)
        {
            var saCCInfos = new List<SACCInfo>();
            var userInfos = new List<UserInfo>();
            Paging paging = new Paging
            {
                PageIndex = pageIndex,
                PageSize = 15
            };
            var model = StudyBLL.GetNoShow(search.BranchId, search.isCurrentBranch, search.ProductId
                , search.IsMyStudent, Eme.WebCommon.LoginUserManager.CurrLoginUser.UserId
                , search.SearchKey, search.SearchKeyword
                , search.BeginDate, search.EndDate, paging,
                out saCCInfos, out userInfos);
            ViewBag.SACCInfos = saCCInfos;
            ViewBag.UserInfos = userInfos;

            Session["SearchBookRecordModel"] = search;
            return PartialView("_List", model);
        }