// GET: Pedidos public async Task <IActionResult> Index() { var model = await repositorioPedido.GetOrdersAsync(this.User.Identity.Name); return(View(model)); }