示例#1
0
        public ActionResult Company_index(int id = 0)
        {
            var      moudel   = this._iOpenShopService.GetById(id);
            Customer customer = this._iCustomerService.GetEntityById(UserContext.Current.Id);

            ViewBag.message = this._messageService.GetTopN(customer);
            ViewBag.CountOfPendingMission = _missionService.CountOfPendingMission(customer);
            return(View(moudel));
        }
示例#2
0
        public ActionResult Memberindex(int id = 1)
        {
            var      moudel   = this._IShopBrandService.GetById(id);
            Customer customer = this._iCustomerService.GetEntityById(UserId);

            ViewBag.customer = customer;
            ViewBag.message  = this._messageService.GetTopN(customer);
            ViewBag.CountOfPendingMission = _missionService.CountOfPendingMission(customer);
            return(View(moudel));
        }