예제 #1
0
        public JsonResult LichTheoNgay(String ngay)
        {
            //if(!String.IsNullOrEmpty(ngay))
            //{
            //    ngay = DateTime.Now.ToString("dd/MM/yyyy");
            //}
            DateTime date   = DateTime.Parse(ngay);
            var      result = CT_HopDongQueries.LayDanhSachChiTietHopDongTheoNgay(date);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
예제 #2
0
        public ActionResult MenuLichTheoNgay()
        {
            var model = CT_HopDongQueries.LayDanhSachChiTietHopDongTheoNgay(DateTime.Today);

            return(View(model));
        }