示例#1
0
        public ActionResult Merge(int ID, string BName)
        {
            BrandBll bll = new BrandBll();

            ViewBag.BrandList = bll.GetEBListExceptSelf(ID, bll.GetByID(ID).EnterpriseID);
            return(View());
        }
示例#2
0
 public ActionResult Edit(int ID)
 {
    BrandBll bll = new BrandBll();
     ViewBag.Enterprise = new EnterpriseBll().getIDAndEName();
     ViewBag.htBrandGC = bll.GetBrandGC(ID);
     Brand model = bll.GetByID(ID);
     ViewBag.BIMG = ImageHelper.GetImgUrl(model.BIMG);
     return View(model);
 }
示例#3
0
        public ActionResult Edit(int ID)
        {
            BrandBll bll = new BrandBll();

            ViewBag.Enterprise = new EnterpriseBll().getIDAndEName();
            ViewBag.htBrandGC  = bll.GetBrandGC(ID);
            Brand model = bll.GetByID(ID);

            ViewBag.BIMG = ImageHelper.GetImgUrl(model.BIMG);
            return(View(model));
        }
示例#4
0
 public ActionResult Merge(int ID,string BName)
 {
     BrandBll bll = new BrandBll();
     ViewBag.BrandList = bll.GetEBListExceptSelf(ID,bll.GetByID(ID).EnterpriseID);
     return View();
 }