public ActionResult GoodsBrand() { var loginUser = (UserInfo)Session["LoginUser"]; var goodList = _manager.GetAllBrand(loginUser.UserId); return(View(goodList)); }
/// <summary> /// 商品品牌页面 /// </summary> /// <returns></returns> public ActionResult GoodsBrand() { Guid managerId = (Guid)ViewBag.ManagerId; var goodList = _manager.GetAllBrand(managerId); return(View(goodList)); }
/// <summary> /// 添加优惠券 /// </summary> /// <returns></returns> public ActionResult AddNewCoupon() { var loginUser = (UserInfo)ViewBag.User; var typelist = _user.GetTypeList(); var suppliers = _user.GetSupplierList(loginUser.UserId); var BrandList = _good.GetAllBrand(loginUser.UserId); ViewBag.TypeList = typelist; ViewBag.Supplier = suppliers; ViewBag.BrandList = BrandList; return(View()); }