public PartialViewResult CreateMaterial(Guid ID) { ViewData["LinkMainCID"] = ID; IBrand IB = new BrandBase(); List<Brand> BL = IB.GetBrandList(string.Empty, ID); return PartialView("CreateMaterial", BL); }
public PartialViewResult CreateMaterialByExcel(Guid ID) { Guid LinkMainCID = ID; ViewData["LinkMainCID"] = LinkMainCID; List<MatExcel> ML = IM.GetMatExcelList(LinkMainCID); IBrand IB = new BrandBase(); List<Brand> BL = IB.GetBrandList(string.Empty, LinkMainCID); ViewData["BL"] = BL; return PartialView("CreateMaterialByExcel", ML); }
public PartialViewResult UpdateMaterialBase(Guid ID) { Material M = IM.GetMaterialItemDB(ID); IBrand IB = new BrandBase(); List<Brand> BL = IB.GetBrandList(string.Empty, M.LinkMainCID); ViewData["BL"] = BL; return PartialView("UpdateMaterialBase", M); }