public ActionResult AddProduct() { ICategoryBll _categoryBll = new CategoryBll(new CategoryDal()); IBrandBll _brandBll = new BrandBll(new BrandDal()); //todo kategoriler parent-child kategoriye çevrilince düzenlenecek. AddProductModel addProduct = new AddProductModel { Brands = _brandBll.ListThem(), Categories = _categoryBll.ListThem() }; return(View(addProduct)); }