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 CityController(
     BusinessServices.Auth.IUserServices authUserServices,
     BusinessServices.Auth.IRoleServices roleServices,
     BusinessServices.Auth.IApplicationServices applicationServices,
     BusinessServices.Auth.IIndustryServices industryServices,
     BusinessServices.Auth.IRegionServices regionServices,
     IEditionServices editionServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          editionServices, eventServices, eventDirectorServices, logServices, notificationServices, userServices, userRoleServices)
 {
 }
 public AdminEditionController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEditionServices editionServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          editionServices, eventServices, eventDirectorServices, logServices, notificationServices, userServices, userRoleServices)
 {
 }
 public GlobalController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEditionServices editionServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     this(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          eventServices, eventDirectorServices, logServices, notificationServices, userServices, userRoleServices)
 {
     EditionServices = editionServices;
 }
Beispiel #5
0
 public EditionDiscountApproverController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEditionServices editionServices,
     IEditionDiscountApproverServices editionDiscountApproverServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     ISubscriptionServices subscriptionServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          editionServices, editionDiscountApproverServices, eventServices, eventDirectorServices,
          logServices, notificationServices, subscriptionServices, userServices, userRoleServices)
 {
 }
 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)
 {
 }
Beispiel #8
0
 public TaskController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEditionServices editionServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     ITaskServices taskServices,
     IEditionHelper editionHelper,
     IEmailNotificationHelper emailNotificationHelper,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          editionServices, eventServices, eventDirectorServices, logServices, notificationServices, taskServices, userServices, userRoleServices)
 {
     _editionHelper           = editionHelper;
     _emailNotificationHelper = emailNotificationHelper;
 }
 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 CedLogAttribute(UnitOfWork unitOfWork)
 {
     _unitOfWork      = unitOfWork;
     _editionServices = new EditionServices(_unitOfWork);
     _eventServices   = new EventServices(_unitOfWork);
 }
 public EditionsController(IEditionServices editionServices)
 {
     _editionServices = editionServices;
 }