public SourceSearch(ISecurity security)
 {
     _sourceDal = new SourceDal();
     _sourceTypesDal = new SourceTypesDal();
     _filesDal = new FilesDal();
     _sourceMappingParishsDal = new SourceMappingParishsDal();
     _smDal = new SourceMappingsDal();
     _security = security;
 }
        public CsImportCsv()
        {
            _parishsDal = new ParishsDal();
            _batchDal = new BatchDal();

            _sourceDal = new SourceDal();
            _sourceMappingParishDal = new SourceMappingParishsDal();

            _sourceMappingsDal = new SourceMappingsDal();
            _marriagesDal = new MarriagesDal();
            _sourceMappingDal = new SourceMappingsDal();
            _personDal = new PersonDal();
            _mwits = new MarriageWitnessesDal();
        }
 public BatchController(ISourceTypesDal isSourceTypesDal,
                     ISecurity iSecurity,
                     IParishsDal parishsDal,
                     ISourceMappingsDal sourceMappingDal,
                     IPersonDal personDal,
                     ISourceDal sourceDal,
                     ISourceMappingParishsDal sourceMappingParishDal,
                     ISourceMappingsDal sourceMappingsDal,
                     IMarriagesDal marriagesDal,
                     IMarriageWitnessesDal mwits,
                     IBatchDal iBatch)
 {
     _batchSearch = new BatchSearch(new Security(new WebUser()),
         iBatch, parishsDal, sourceMappingDal, personDal, sourceDal, sourceMappingParishDal, sourceMappingsDal, marriagesDal, mwits);
 }
 public BatchSearch(ISecurity security, IBatchDal iBatchDal, IParishsDal parishsDal,
                                                         ISourceMappingsDal sourceMappingDal,
                                                         IPersonDal personDal,        
                                                         ISourceDal sourceDal,
                                                         ISourceMappingParishsDal sourceMappingParishDal,
                                                         ISourceMappingsDal sourceMappingsDal,
                                                         IMarriagesDal marriagesDal,
                                                         IMarriageWitnessesDal mwits)
 {
     _security = security;
     _batchDal = iBatchDal;
     _parishsDal = parishsDal;
     _sourceDal = sourceDal;
     _sourceMappingParishDal = sourceMappingParishDal;
     _sourceMappingsDal = sourceMappingDal;
     _marriagesDal = marriagesDal;
     _sourceMappingDal = sourceMappingsDal;
     _personDal = personDal;
     _mwits = mwits;
 }