Ejemplo n.º 1
0
        public ActionResult BrandType(long id)
        {
            BrandTypeViewModel viewModel = new BrandTypeViewModel();

            // 次分類列表
            viewModel.brandSubTypeList = _brandSubTypeRepository.GetList(id, false);

            // 品牌列表
            viewModel.brandList = _brandRepository.GetList(id, 0, false);

            return(PartialView(viewModel));
        }