public ActionResult Detalhes(Guid id, Guid pedidoId) { ViewBag.Pedido = _pedidoAppService.ObterPorId(pedidoId); return(View(_faturamentoAppService.ObterPorId(id))); }
public ActionResult Faturar(Guid pedidoId) { ViewBag.JaFaturado = _faturamentoAppService.ObterTotalFaturamento(pedidoId); return(View(_pedidoAppService.ObterPorId(pedidoId))); }
public ResultadoPesquisa <PedidoConsultaVM> ObterPorId(int idPedido) => new ResultadoPesquisa <PedidoConsultaVM> { Resultado = AppService.ObterPorId(idPedido) };