public ActionResult Merge(int ID, string BName) { BrandBll bll = new BrandBll(); ViewBag.BrandList = bll.GetEBListExceptSelf(ID, bll.GetByID(ID).EnterpriseID); return(View()); }
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); }
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)); }
public ActionResult Merge(int ID,string BName) { BrandBll bll = new BrandBll(); ViewBag.BrandList = bll.GetEBListExceptSelf(ID,bll.GetByID(ID).EnterpriseID); return View(); }