Ejemplo n.º 1
0
        public ActionResult Index()
        {
            var currentCpy = GetCurrentUser();

            ViewData.Model = currentCpy as Company;
            //--------------------当前的厂商获取置顶条数------------------------
            //Hack  区分置顶和开服的剩余条数
            ViewBag.recCount = RechargeBll.TopUsedNum(currentCpy.Id);
            //--------------------当前的厂商获取全天开服条数------------------------
            var serviceCount = RechargeBll.allDayUsedNum(currentCpy.Id);

            ViewBag.serviceCount = serviceCount;
            return(View());
        }