Esempio n. 1
0
 public PedidoController(IPedidoAppService pedidoAppService, IUsuarioAppService usuarioAppService,
                         IRepresentadaAppService representadaAppService, IStatusPedidoAppService statusPedidoAppService,
                         ITipoPedidoAppService tipoPedidoAppService, ITransportadoraAppService transportadoraAppService,
                         ICondicaoPagamentoAppService condicaoPagamentoAppService, IContatoClienteAppService contatoClienteAppService,
                         IEnderecoClienteAppService enderecoClienteAppService, IPessoaFisicaAppService pessoaFisicaAppService,
                         IPessoaJuridicaAppService pessoaJuridicaAppService, IProdutoAppService produtoAppService,
                         IFaturamentoAppService faturamentoAppService, IEntitySerializationServices <PedidoViewModel> entitySerializationServices,
                         IEntitySerializationServices <FaturamentoViewModel> entitySerializationServicesFaturamento)
 {
     _pedidoAppService                       = pedidoAppService;
     _usuarioAppService                      = usuarioAppService;
     _representadaAppService                 = representadaAppService;
     _statusPedidoAppService                 = statusPedidoAppService;
     _tipoPedidoAppService                   = tipoPedidoAppService;
     _transportadoraAppService               = transportadoraAppService;
     _condicaoPagamentoAppService            = condicaoPagamentoAppService;
     _contatoClienteAppService               = contatoClienteAppService;
     _enderecoClienteAppService              = enderecoClienteAppService;
     _pessoaFisicaAppService                 = pessoaFisicaAppService;
     _pessoaJuridicaAppService               = pessoaJuridicaAppService;
     _produtoAppService                      = produtoAppService;
     _faturamentoAppService                  = faturamentoAppService;
     _entitySerializationServices            = entitySerializationServices;
     _entitySerializationServicesFaturamento = entitySerializationServicesFaturamento;
 }
Esempio n. 2
0
 public TransportadoraController(ITransportadoraAppService transportadoraAppService,
                                 IEntitySerializationServices <IEnumerable <TransportadoraViewModel> > entitySerializationServices)
 {
     _transportadoraAppService    = transportadoraAppService;
     _entitySerializationServices = entitySerializationServices;
 }
 public TransportadoraController(ITransportadoraAppService transportadoraAppService)
 {
     _transportadoraAppService = transportadoraAppService;
 }