public SourceSearch(ISecurity security)
 {
     _sourceDal = new SourceDal();
     _sourceTypesDal = new SourceTypesDal();
     _filesDal = new FilesDal();
     _sourceMappingParishsDal = new SourceMappingParishsDal();
     _smDal = new SourceMappingsDal();
     _security = security;
 }
 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 SourceTypeSearch(ISecurity security, ISourceTypesDal iSourceTypesDal)
 {
     _security = security;
     _sourceTypesDal = iSourceTypesDal;
 }
 // source types
 public SourceTypeService(ISourceTypesDal isSourceTypesDal,
     ISecurity iSecurity)
 {
     _sourceTypeSearch = new SourceTypeSearch(new Security(new WebUser()),isSourceTypesDal);
 }