public async Task <IEnumerable <ShopDto> > GetShops() => await shopsService.GetShops();
public IActionResult Index() { ViewBag.Title = "Магазины"; return(View(_mapper.Map <List <ShopModel> >(_shopsService.GetShops(_mapper)))); }
public async Task <IEnumerable <ShopDto> > GetShops() => await shopsService.GetShops();
public IActionResult Index() { ViewBag.Title = "Магазины"; return(View(_mapper.Map <List <ShopModel> >(_shopsService.GetShops(_mapper)))); }