// GET: Shopping public async Task <IActionResult> Index() { var shopping = _shoppingAppService.Get(); var shoppingDTO = _mapper.Map <List <ShoppingDTO> >(shopping); return(View(shoppingDTO)); }
public IActionResult Index() { ViewData["IdShopping"] = new SelectList(_shoppingAppService.Get(), "Id", "Nome"); return(View()); }