Ejemplo n.º 1
0
        public ActionResult Index()
        {
            BizInfo bi = BizInfoRepository.GetBizInfoByUserId(CurrentUserID);

            ViewBag.bizname = bi.BizTitle;
            ViewBag.bizid   = bi.BizInfoId.ToString();
            ViewBag.contime = DateTime.Now.ToShortDateString() + " " + DateTime.Now.ToShortTimeString();
            return(View());
        }