public ImportDataService()
        {
            _exportDataService = new ExportDataService();

            _crmRepository                     = new CRMRepository();
            _eventRepository                   = new EventRepository();
            _configurationRespository          = new ConfigurationRepository();
            _hostedControlRepository           = new HostedControlRepository();
            _entityTypeRepository              = new EntityTypeRepository();
            _scriptletRepository               = new ScriptletRepository();
            _importResults                     = new List <ImportResult>();
            _entitySearchRepository            = new EntitySearchRepository();
            _sessionLineRepository             = new SessionLineRepository();
            _optionRepository                  = new OptionRepository();
            _actionRepository                  = new ActionRepository();
            _actionCallrepository              = new ActionCallRepository();
            _subActionCallsRepository          = new SubActionCallsRepository();
            _eventActionCallRepository         = new EventActionCallRepository();
            _toolbarRepository                 = new ToolbarRepository();
            _toolbarButtonRepository           = new ToolbarButtonRepository();
            _toolbarButtonActionCallRepository = new ToolbarButtonActionCallRepository();
            _toolbarHostedControlRepository    = new ToolbarHostedControlRepository();
            _wnrRepository                     = new WNRRepository();
            _wnrActionCallrepository           = new WNRActionCallRepository();
            _agentScriptTaskRepository         = new AgentScriptTaskRepository();
            _taskActionCallRepository          = new TaskActionCallRepository();
            _taskAnswerRepository              = new TaskAnswerRepository();
            _agentScriptAnswerRepository       = new AgentScriptAnswerRepository();
            _answerActionCallRepository        = new AnswerActionCallrepository();
        }
        public virtual bool Bound(TCategory category, TAssociation association)
        {
            var subscriberId = UserContext.Current.SubscriberId;
            var entityIds    = EntitySearchRepository.GetIds(subscriberId, CreateEntityPredicate(category));
            var values       = entityIds.Select(id => this.CreateValue(id, association));

            return(AssociationValueAddRepository.AddEntities(values));
        }
Example #3
0
 public KortingController()
 {
     _kortingRepository = new EntityKortingRepository( );
     _search            = new EntitySearchRepository( );
 }
Example #4
0
 public ReserveringController()
 {
     _reserveringRepository = new EntityReserveringRepository( );
     _search = new EntitySearchRepository( );
 }
Example #5
0
 public GastController()
 {
     _gastRepository = new EntityGastRepository( );
     _search         = new EntitySearchRepository( );
 }
Example #6
0
 public ZaalController()
 {
     _zaalRepository = new EntityZaalRepository( );
     _search         = new EntitySearchRepository( );
 }
Example #7
0
 public FilmController()
 {
     _filmRepository = new EntityFilmRepository();
     _search         = new EntitySearchRepository();
 }