Ejemplo n.º 1
0
 public UsuarioAppService(IUsuarioService usuarioService, IRepresentadaService representadaService,
                          IUnitOfWork uow)
     : base(uow)
 {
     _usuarioService      = usuarioService;
     _representadaService = representadaService;
 }
Ejemplo n.º 2
0
        //private readonly IUsuarioRepresentadaService _usuarioRepresentadaService;

        public RepresentadaAppService(IRepresentadaService representadaService, IUnitOfWork uow,
                                      IContatoRepresentadaService contatoRepresentadaService,
                                      ICondicaoPagamentoService condicaoPagamentoService,
                                      IProdutoService produtoService,
                                      IPedidoService pedidoService
                                      //IUsuarioRepresentadaService usuarioRepresentadaService
                                      )
            : base(uow)
        {
            _representadaService        = representadaService;
            _contatoRepresentadaService = contatoRepresentadaService;
            _condicaoPagamentoService   = condicaoPagamentoService;
            _produtoService             = produtoService;
            _pedidoService = pedidoService;
            //_usuarioRepresentadaService = usuarioRepresentadaService;
        }