예제 #1
0
        public ActionResult ItemDetail(String ItemID)
        {
            var model = new ItemModel();

            model = model.GetItemDetail(ItemID);
            var count      = model.GetBitCount(ItemID);
            var LimitTime  = model.EndTime - DateTime.Now;
            var LimitAlart = model.GetLimitAlart(LimitTime);

            ViewBag.TimeLimit  = LimitTime;
            ViewBag.LimitAlart = LimitAlart;
            ViewBag.Count      = count;

            return(View(model));
        }