public async Task <ActionResult> List(string name) { IEnumerable <BrandVM> brands = (await _brandManager.Brands(name)).Select(b => new BrandVM { Id = b.Id, Name = b.Name }); return(View(brands)); }
public async Task <ActionResult> List(string name) { IEnumerable <BrandVM> brands = (await _brandManager.Brands(name)).Select(b => new BrandVM { Id = b.Id, Name = b.Name }); return(View(brands)); }