//public async Task<IEnumerable<CategoryModel>> GetProductCategories(int productId) //{ // return //} public async Task <IEnumerable <BrandModel> > GetAllBrands() { return(await _brandManager.GetAllBrands()); }
public async Task <IActionResult> List() { var viewModel = await _brandManager.GetAllBrands(); return(View(viewModel)); }