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