public MovimentoBancarioRepository(UserInfo info, WindsorConfigRepository windsorRepository)
        {
            _windsorRepository = windsorRepository;
            _info = info;
            _daoFactory = _windsorRepository.GetDaoFactory(_info.Azienda);
            IList<CausaleACBI> lista = _daoFactory.GetCausaleACBIDao().GetAll();
            _causaliACBI = new Dictionary<string, CausaleACBI>(lista.Count);
            foreach (CausaleACBI caus in lista)
                _causaliACBI.Add(caus.Codice, caus);

        }
        public ImportazioneMovimentiCBI(IMovimentiContabiliService movimentiContabiliService, IProtocolloService protocolloService, IPersistenceContext persistenceContext, IDaoFactory daoFactory)
        {
            _movimentiContabiliService = movimentiContabiliService;
            _protocolloService = protocolloService;
            _persistenceContext = persistenceContext;

            _daoFactory = daoFactory;

            var lista = _daoFactory.GetCausaleACBIDao().GetAll();
            _causaliACBI = new Dictionary<string, CausaleACBI>(lista.Count);
            foreach (var caus in lista)
                _causaliACBI.Add(caus.Codice, caus);
        }