Beispiel #1
0
        public async Task <IList <BrandViewModel> > GetBrandsAsync()
        {
            var brands = await _brandManager.GetBrandsAsync();

            var viewModel = _mapper.Map <IList <BrandViewModel> >(brands);

            return(viewModel);
        }