public void SetUp()
        {
            var unitOfWork = new UnitOfWork();

            // AUTH
            _authUserServices    = new UserServices(unitOfWork);
            _roleServices        = new RoleServices(unitOfWork);
            _applicationServices = new ApplicationServices(unitOfWork);
            _industryServices    = new IndustryServices(unitOfWork);
            _regionServices      = new RegionServices(unitOfWork);

            _countryServices                       = new CountryServices(unitOfWork);
            _editionServices                       = new EditionServices(unitOfWork);
            _editionCohostServices                 = new EditionCohostServices(unitOfWork);
            _editionCountryServices                = new EditionCountryServices(unitOfWork);
            _editionKeyVisitorServices             = new EditionKeyVisitorServices(unitOfWork);
            _editionTranslationServices            = new EditionTranslationServices(unitOfWork);
            _editionTranslationSocialMediaServices = new EditionTranslationSocialMediaServices(unitOfWork);
            _editionVisitorServices                = new EditionVisitorServices(unitOfWork);
            _eventServices         = new EventServices(unitOfWork);
            _eventDirectorServices = new EventDirectorServices(unitOfWork);
            _fileServices          = new FileServices(unitOfWork);
            _keyVisitorServices    = new KeyVisitorServices(unitOfWork);
            _logServices           = new LogServices(unitOfWork);
            _notificationServices  = new NotificationServices(unitOfWork);
            _subscriptionServices  = new SubscriptionServices(unitOfWork);
            _userServices          = new UserServices(unitOfWork);
            _userRoleServices      = new UserRoleServices(unitOfWork);

            _editionHelper = new EditionHelper();

            _controller = new EditionController(
                _authUserServices,
                _roleServices,
                _applicationServices,
                _industryServices,
                _regionServices,
                _countryServices,
                _editionServices,
                _editionCohostServices,
                _editionCountryServices,
                _editionKeyVisitorServices,
                _editionTranslationServices,
                _editionTranslationSocialMediaServices,
                _editionVisitorServices,
                _eventServices,
                _eventDirectorServices,
                _fileServices,
                _keyVisitorServices,
                _logServices,
                _notificationServices,
                _subscriptionServices,
                _userServices,
                _userRoleServices,
                _editionHelper
                );
            _controller.SetDefaultUser();

            AutoMapperConfig.Register();
        }
 public EditionSocialMediaController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEditionServices editionServices,
     IEditionTranslationSocialMediaServices editionTranslationSocialMediaServices,
     IEditionTranslationServices editionTranslationServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     ISocialMediaServices socialMediaServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          editionServices, editionTranslationSocialMediaServices, editionTranslationServices, eventServices, eventDirectorServices,
          logServices, notificationServices, socialMediaServices, userServices, userRoleServices)
 {
 }
 public DashboardController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEditionServices editionServices,
     IEditionCountryServices editionCountryServices,
     IEditionTranslationServices editionTranslationServices,
     IEventDirectorServices eventDirectorServices,
     IEventServices eventServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     IStatisticServices statisticServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          editionCountryServices, editionServices, editionTranslationServices, eventDirectorServices, eventServices, logServices,
          notificationServices, statisticServices, userServices, userRoleServices)
 {
 }
예제 #4
0
 public FileController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEditionServices editionServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     IEditionTranslationServices editionTranslationServices,
     IFileServices fileServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     ISubscriptionServices subscriptionServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          editionServices, editionTranslationServices, eventServices, eventDirectorServices, fileServices, logServices,
          notificationServices, subscriptionServices, userServices, userRoleServices)
 {
 }
 public GlobalController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     ICountryServices countryServices,
     IEditionServices editionServices,
     IEditionCohostServices editionCoHostServices,
     IEditionCountryServices editionCountryServices,
     IEditionKeyVisitorServices editionKeyVisitorServices,
     IEditionTranslationServices editionTranslationServices,
     IEditionTranslationSocialMediaServices editionTranslationSocialMediaServices,
     IEditionVisitorServices editionVisitorServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     IFileServices fileServices,
     IKeyVisitorServices keyVisitorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     ISubscriptionServices subscriptionServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     this(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          eventServices, eventDirectorServices, logServices, notificationServices, userServices, userRoleServices)
 {
     EditionServices                       = editionServices;
     EditionCoHostServices                 = editionCoHostServices;
     EditionCountryServices                = editionCountryServices;
     EditionKeyVisitorServices             = editionKeyVisitorServices;
     EditionTranslationServices            = editionTranslationServices;
     EditionTranslationSocialMediaServices = editionTranslationSocialMediaServices;
     EditionVisitorServices                = editionVisitorServices;
     FileServices         = fileServices;
     KeyVisitorServices   = keyVisitorServices;
     SubscriptionServices = subscriptionServices;
 }
 public GlobalController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEditionCountryServices editionCountryServices,
     IEditionServices editionServices,
     IEditionTranslationServices editionTranslationServices,
     IEventDirectorServices eventDirectorServices,
     IEventServices eventServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     IStatisticServices statisticServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     this(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          eventServices, eventDirectorServices, logServices, notificationServices, userServices, userRoleServices)
 {
     EditionCountryServices     = editionCountryServices;
     EditionServices            = editionServices;
     EditionTranslationServices = editionTranslationServices;
     StatisticServices          = statisticServices;
 }