Ejemplo n.º 1
0
 public UtenzaWCFService(IPianoContiService pianoContiService, IEsercizioService esercizioService, IDocumentoService documentoService, IArchiviazioneOtticaService archiviazioneOtticaService)
 {
     _pianoContiService = pianoContiService;
     _esercizioService = esercizioService;
     _documentoService = documentoService;
     _archiviazioneService = archiviazioneOtticaService;
 }
Ejemplo n.º 2
0
 //public UsuarioService(ILog logger, IUsuarioRepository repository)
 public LoteService(ILoteRepository repository, IDocumentoService documento)
 {
     //this._logger = logger;
     this._repository = repository;
     this._queryParams = new Dictionary<string, object>();
     _documento = documento;
 }
Ejemplo n.º 3
0
 public DocumentoApplicationServiceBase(IDocumentoService service, IUnitOfWork uow, ICache cache, CurrentUser user) :
     base(service, uow, cache)
 {
     base.SetTagNameCache("Documento");
     this._validatorAnnotations = new ValidatorAnnotations <DocumentoDto>();
     this._service = service;
     this._user    = user;
 }
Ejemplo n.º 4
0
 public DocumentosController(IDocumentoRepository repository,
                             IDocumentoService service,
                             IMapper mapper)
 {
     _repository = repository;
     _service    = service;
     _mapper     = mapper;
 }
Ejemplo n.º 5
0
 public PraticaWCFService(IPersonaService personaService, IReferenteService referenteService, IDocumentoService documentoService, IManageDocumentService manageDocumentService, IModelloLettera modelloLettera)
 {
     _personaService = personaService;
     _referenteService = referenteService;
     _documentoService = documentoService;
     _modelloLettera = modelloLettera;
     _manageDocumentService = manageDocumentService;
 }
Ejemplo n.º 6
0
 public BeneficiarioController(IBeneficiarioService beneficiarioService,
                               IBeneficioService beneficioService,
                               IDocumentoService documentoService)
 {
     _beneficiarioService = beneficiarioService;
     _beneficioService    = beneficioService;
     _documentoService    = documentoService;
 }
Ejemplo n.º 7
0
 public FatturaWCFService(ICondominioService condominioService, IEsercizioService esercizioService, IArchiviazioneOtticaService archiviazioneService, IDocumentoService documentoService, IStampaEtichetteService stampaEtichetteService, IAziendaService aziendaService)
 {
     _condominioService = condominioService;
     _esercizioService = esercizioService;
     _archiviazioneService = archiviazioneService;
     _documentoService = documentoService;
     _stampaEtichetteService = stampaEtichetteService;
     _aziendaService = aziendaService;
 }
Ejemplo n.º 8
0
        void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            if (_documentoService == null)
            {
                _container = new WindsorContainer(new XmlInterpreter());
                _documentoService = (IDocumentoService)_container[typeof(IDocumentoService)];
            }

            _documentoService.Open(_documento);
        }
Ejemplo n.º 9
0
        public DocumentosController(ISetorService setorService, IDocumentoService documentosService, IUsuarioService usuarioService, IArquivoService arquivoService)
        {
            this._setorService = setorService;
            this._documentosService = documentosService;
            this._usuarioService = usuarioService;
            this._arquivoService = arquivoService;

            ViewBag.Usuarios = _usuarioService.ObterUsuarios().OrderBy(u => u.Nome).ToList();
            ViewBag.Setores = _setorService.ObterSetores().OrderBy(s => s.Nome).ToList();
            ViewBag.DadosTabelas = new DocumentosProjection();
        }
Ejemplo n.º 10
0
 public DocumentosController()
 {
     if (_alumnoService == null)
     {
         _alumnoService = new AlumnoService();
     }
     if (_docuementosService == null)
     {
         _docuementosService = new DocumentoService();
     }
 }
Ejemplo n.º 11
0
        public DocumentosController(ISetorService setorService, IDocumentoService documentosService, IUsuarioService usuarioService, IArquivoService arquivoService)
        {
            this._setorService      = setorService;
            this._documentosService = documentosService;
            this._usuarioService    = usuarioService;
            this._arquivoService    = arquivoService;

            ViewBag.Usuarios     = _usuarioService.ObterUsuarios().OrderBy(u => u.Nome).ToList();
            ViewBag.Setores      = _setorService.ObterSetores().OrderBy(s => s.Nome).ToList();
            ViewBag.DadosTabelas = new DocumentosProjection();
        }
Ejemplo n.º 12
0
 public void Dispose()
 {
     usuarioService      = null;
     sedeService         = null;
     proveedorService    = null;
     areaService         = null;
     unidadMedidaService = null;
     articuloService     = null;
     documentoService    = null;
     empresaService      = null;
     bancoService        = null;
 }
Ejemplo n.º 13
0
 public PessoaFisicaService(IPessoaService pessoaService,
                            IDocumentoService documentoService,
                            IPessoaFisicaRepository pessoaFisicaRepository,
                            IMapper mapper,
                            IUnitOfWork uow)
 {
     _pessoaService          = pessoaService;
     _documentoService       = documentoService;
     _pessoaFisicaRepository = pessoaFisicaRepository;
     _mapper = mapper;
     _uow    = uow;
 }
Ejemplo n.º 14
0
 public ServiceAlmacen()
 {
     this.usuarioService      = new UsuarioService();
     this.sedeService         = new SedeService();
     this.proveedorService    = new ProveedorService();
     this.areaService         = new AreaService();
     this.unidadMedidaService = new UnidadMedidaService();
     this.articuloService     = new ArticuloService();
     this.documentoService    = new DocumentoService();
     this.empresaService      = new EmpresaService();
     this.puestoService       = new PuestoService();
     this.bancoService        = new BancoService();
 }
Ejemplo n.º 15
0
        public CrearFacturaViewModel(IDocumentoService documentoService, IConceptoDocumentoRepository <ConceptoDocumento> conceptoDocumentoRepository, IClienteProveedorRepository <ClienteProveedorLookup> clienteProveedorRepository, IDialogCoordinator dialogCoordinator, IDocumentoRepository <Documento> documentoRepository, IAgenteRepository <Agente> agenteRepository)
        {
            _documentoService            = documentoService;
            _conceptoDocumentoRepository = conceptoDocumentoRepository;
            _clienteProveedorRepository  = clienteProveedorRepository;
            _dialogCoordinator           = dialogCoordinator;
            _documentoRepository         = documentoRepository;
            _agenteRepository            = agenteRepository;

            InicializarCommand          = new RelayCommand(Inicializar);
            CrearFacturaCommand         = new AsyncRelayCommand(CrearFacturaAsync);
            BuscarSiguienteFolioCommand = new AsyncRelayCommand(BuscarSiguienteFolioAsync, CanBuscarSiguienteFolio);
            CancelarCommand             = new RelayCommand(CerrarVista);
        }
Ejemplo n.º 16
0
 public MatriculaController()
 {
     if (_matriculaService == null)
     {
         _matriculaService = new MatriculaService();
     }
     if (_alumnoService == null)
     {
         _alumnoService = new AlumnoService();
     }
     if (_apoderadoService == null)
     {
         _apoderadoService = new ApoderadosService();
     }
     if (_anioAcademicoService == null)
     {
         _anioAcademicoService = new AnioAcademicoService();
     }
     if (_ubigeoService == null)
     {
         _ubigeoService = new UbigeoService();
     }
     if (_documentoService == null)
     {
         _documentoService = new DocumentoService();
     }
     if (_nivelService == null)
     {
         _nivelService = new NivelService();
     }
     if (_gradoService == null)
     {
         _gradoService = new GradoService();
     }
     if (_seccionService == null)
     {
         _seccionService = new SeccionService();
     }
 }
Ejemplo n.º 17
0
        public DetallesFacturaViewModel(IDocumentoRepository <Documento> documentoRepository, IDialogCoordinator dialogCoordinator, IMovimientoService movimientoService, IDocumentoService documentoService, IDatosCfdiRepository datosCfdiRepository, ConfiguracionAplicacion configuracionAplicacion)
        {
            _documentoRepository     = documentoRepository;
            _dialogCoordinator       = dialogCoordinator;
            _movimientoService       = movimientoService;
            _documentoService        = documentoService;
            _datosCfdiRepository     = datosCfdiRepository;
            _configuracionAplicacion = configuracionAplicacion;

            CrearMovimientoCommand    = new AsyncRelayCommand(CrearMovimientoAsync);
            EditarMovimientoCommand   = new AsyncRelayCommand(EditarMovimientoAsync, CanEditarMovimientoAsync);
            EliminarMovimientoCommand = new AsyncRelayCommand(EliminarMovimientoAsync, CanEliminarMovimientoAsync);

            GuardarDocumentoCommand    = new AsyncRelayCommand(GuardarDocumentoAsync);
            CancelarDocumentoCommand   = new AsyncRelayCommand(CancelarDocumentoAsync);
            EliminarDocumentoCommand   = new AsyncRelayCommand(EliminarDocumentoAsync);
            TimbrarDocumentoCommand    = new AsyncRelayCommand(TimbrarDocumentoAsync);
            GenerarPdfDocumentoCommand = new AsyncRelayCommand(GenerarPdfDocumentoAsync);
            GenerarXmlDocumentoCommand = new AsyncRelayCommand(GenerarXmlDocumentoAsync);

            BuscarDatosCfdiCommand = new AsyncRelayCommand(BuscarDatosCfdiAsync);
        }
Ejemplo n.º 18
0
 private IDocumentoService getDocumentoService()
 {
     return _documentoService ?? (_documentoService = ResolveComponent<IDocumentoService>());
 }
Ejemplo n.º 19
0
 public VersamentiCondominiWCFService(IDocumentoService documentoService, IAziendaService aziendaService)
 {
     _documentoService = documentoService;
     _aziendaService = aziendaService;
 }
Ejemplo n.º 20
0
 private void inizializza()
 {
     _bilancioService = IoC.Resolve<IBilancioService>();
     _aziendaService = IoC.Resolve<IAziendaService>();
     _documentService = IoC.Resolve<IDocumentoService>();
     _noteService = IoC.Resolve<INotaPredefinitaService>();
     persistWindowComponent1.UserName = Login.Instance.CurrentLogin().LoginName;
 }
Ejemplo n.º 21
0
 private void inizializza()
 {
     _aziendaService = ResolveComponent<IAziendaService>();
     _documentService = ResolveComponent<IDocumentoService>();
     persistWindowComponent1.UserName = Security.Login.Instance.CurrentLogin().LoginName;
 }
Ejemplo n.º 22
0
 public DocumentoController(IDocumentoService documentoService)
 {
     _documentoService = documentoService;
 }
Ejemplo n.º 23
0
 /// <summary>
 /// Construtor parametrizado com a injeção de dependência
 /// </summary>
 /// <param name="servico">IDocumentoService</param>
 public DocumentoService(IDocumentoService servico)
 {
     this._servico = servico;
 }
 public DocumentoController(IDocumentoService service)
 {
     _service = service;
 }
Ejemplo n.º 25
0
 public SeedController(IDocumentoService documentService)
 {
     _documentService = documentService;
 }
 public ConsultaController()
 {
     //_loteService = DependencyResolver.Current.GetService<ILoteService>();
     _docService = DependencyResolver.Current.GetService<IDocumentoService>();
 }
Ejemplo n.º 27
0
 public DocumentoController(IDocumentoService documentoService,
                            ILogger <DocumentoController> logger)
 {
     _documentoService = documentoService;
     _logger           = logger;
 }
Ejemplo n.º 28
0
 public DocumentoController(IDocumentoService service, IMapper mapper)
 {
     _service     = service;
     this._mapper = mapper;
 }
Ejemplo n.º 29
0
 public UnitaImmobiliareCacheService(IDocumentoService documentoService, ICacheService cacheService)
 {
     _documentoService = documentoService;
     _cacheService = cacheService;
 }
Ejemplo n.º 30
0
 public DocumentoController(IDocumentoService service, IUnitOfWork uow)
 {
     _service = service;
     _uow     = uow;
 }
 public UploadController()
 {
     _lote = new Lote();
     this._loteService = DependencyResolver.Current.GetService<ILoteService>();
     _docService = DependencyResolver.Current.GetService<IDocumentoService>();
 }
Ejemplo n.º 32
0
 public SollecitiWCFService(IDocumentoService documentoService)
 {
     _documentoService = documentoService;
 }
Ejemplo n.º 33
0
 public ArchiviazioneOtticaWCFService(IManageDocumentService manageDocumentService, IDocumentoService documentoService)
 {
     _manageDocumentService = manageDocumentService;
     _documentoService = documentoService;
 }
Ejemplo n.º 34
0
 public LoadDatiAsyncArguments(CondominioDTO condominio, IDocumentoService documentoService)
 {
     Condominio = condominio;
     DocumentoService = documentoService;
 }
 public DocumentoApplicationService(IDocumentoService service, IUnitOfWork uow, ICache cache, CurrentUser user) :
     base(service, uow, cache, user)
 {
 }
Ejemplo n.º 36
0
 public LoadDatiAsyncArgumentsFornitore(FornitoreDTO fornitore, IDocumentoService documentoService)
 {
     Fornitore = fornitore;
     DocumentoService = documentoService;
 }
 //Método construtor da classe FormalizacaoController
 public FormalizacaoController()
 {
     _loteService = DependencyResolver.Current.GetService<ILoteService>();
     _docService = DependencyResolver.Current.GetService<IDocumentoService>();
 }
Ejemplo n.º 38
0
 public LoadDatiAsyncArgumentsUnitaImmobiliare(UnitaImmobiliareDTO unitaImmobiliare, IDocumentoService documentoService)
 {
     UnitaImmobiliare = unitaImmobiliare;
     DocumentoService = documentoService;
 }
Ejemplo n.º 39
0
 private IDocumentoService getDocumentoService()
 {
     return _documentoService ?? (_documentoService = IoC.Resolve<IDocumentoService>());
 }
 public SupervisaoController()
 {
     _lote = new Lote();
     _loteService = DependencyResolver.Current.GetService<ILoteService>();
     _docService = DependencyResolver.Current.GetService<IDocumentoService>();
 }