// BASE CTOR
        public GlobalController(
            IUserServices authUserServices,
            IRoleServices roleServices,
            IApplicationServices applicationServices,
            IIndustryServices industryServices,
            IRegionServices regionServices,
            IEventServices eventServices,
            IEventDirectorServices eventDirectorServices,
            ILogServices logServices,
            INotificationServices notificationServices,
            IUserServices userServices,
            IUserRoleServices userRoleServices)
        {
            UserServices        = authUserServices;
            RoleServices        = roleServices;
            ApplicationServices = applicationServices;
            IndustryServices    = industryServices;
            RegionServices      = regionServices;

            EventServices         = eventServices;         /*must be included in all constructors*/
            EventDirectorServices = eventDirectorServices; /*must be included in all constructors*/
            LogServices           = logServices;           /*must be included in all constructors*/
            NotificationServices  = notificationServices;  /*must be included in all constructors*/

            UserServices     = userServices;               /*must be included in all constructors*/
            UserRoleServices = userRoleServices;           /*must be included in all constructors*/

            EmailHelper = new EmailHelper();

            CreateEmailLogFunc = CreateEmailLog;
        }
 public TripServices(IDbRepository<Trip> tripRepos, IDbRepository<PassengerTrip> passengerTripsRepos, IUserServices userServices, INotificationServices notificationServices)
 {
     this.tripRepos = tripRepos;
     this.passengerTripsRepos = passengerTripsRepos;
     this.userServices = userServices;
     this.notificationServices = notificationServices;
 }
        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();
        }
Beispiel #4
0
 public OrderServices(IRepository <Order> entityRepository, IUserCServices userCServices, INotificationServices notificationSrevices, IRepository <Store> storeRepository)
 {
     _entityRepository     = entityRepository;
     _userCServices        = userCServices;
     _notificationSrevices = notificationSrevices;
     _storeRepository      = storeRepository;
 }
        public AdminController(IStaffServices iStaffServices,
                               IContactInformationServices iContactInformationServices,
                               IServiceServices iServiceServices,
                               ISalaryServices iSalaryServices,
                               IReferenceServices iReferenceServices,
                               INotificationServices iNotificationServices,
                               IBookingServices iBookingServices,
                               IBedServices iBedServices,
                               IStockServices iStockServices,
                               ICustomerServices iCustomerServices)
        {
            logger.EnterMethod();
            this._iStaffServices = iStaffServices;
            this._iContactInformationServices = iContactInformationServices;
            this._iServiceServices            = iServiceServices;
            this._iSalaryServices             = iSalaryServices;
            this._iReferenceServices          = iReferenceServices;
            this._iNotificationServices       = iNotificationServices;
            this._iBookingServices            = iBookingServices;
            this._iBedServices      = iBedServices;
            this._iStockServices    = iStockServices;
            this._iCustomerServices = iCustomerServices;
            logger.Info("Success set value to attributes");

            logger.LeaveMethod();
        }
Beispiel #6
0
 public Notifications(UserManager <IdentityUser> userManager,
                      IUsersServices usersServices,
                      INotificationServices notificationServices)
 {
     _userManager         = userManager;
     _notificationService = notificationServices;
     _user = usersServices;
 }
 public NotificationController(ILoggerServices loggerServices,
                               IUserServices userService,
                               IUserDepartmentServices userDepartmentServices,
                               INotificationServices notificationServices) :
     base(loggerServices, userService, userDepartmentServices)
 {
     _notificationServices = notificationServices;
 }
 public CocktailsController(ICocktailServices cocktailServices,
                            IIngredientServices ingredientServices,
                            IToastNotification toast,
                            INotificationServices notificationServices)
 {
     _cocktailServices   = cocktailServices;
     _ingredientServices = ingredientServices;
     _toast = toast;
     _notificationServices = notificationServices;
 }
Beispiel #9
0
 public MobileSignatureController(ILoggerServices loggerServices,
                                  IUserServices userService,
                                  IUserDepartmentServices userDepartmentServices,
                                  IMapper mapper,
                                  ISignatureServices signatureServices,
                                  INotificationServices notificationServices) :
     base(loggerServices, userService, userDepartmentServices)
 {
     _signatureServices    = signatureServices;
     _mapper               = mapper;
     _notificationServices = notificationServices;
 }
 public TripController(ITripServices tripServices, IRatingServices ratingServices, ITripNotificationServices tripNotificationServices, ITownProvider townProvider, IStatisticsServices statisticsServices, IViewServices viewServices, IDateProvider dateProvider, ITripProvider tripProvider, INotificationServices notificationServices)
 {
     this.TripServices = tripServices;
     this.RatingServices = ratingServices;
     this.TripNotificationServices = tripNotificationServices;
     this.StatisticsServices = statisticsServices;
     this.ViewServices = viewServices;
     this.TownProvider = townProvider;
     this.DateProvider = dateProvider;
     this.TripProvider = tripProvider;
     this.NotificationServices = notificationServices;
 }
 public BarsController(IBarServices barServices,
                       ICocktailServices cocktailServices,
                       IReviewServices reviewServices,
                       IToastNotification toast,
                       INotificationServices notificationServices)
 {
     _barServices          = barServices;
     _cocktailServices     = cocktailServices;
     _reviewServices       = reviewServices;
     _toast                = toast;
     _notificationServices = notificationServices;
 }
 public HomeController(ICocktailServices cocktailServices,
                       IBarServices barServices,
                       IIngredientServices ingredientServices,
                       IAppUserServices appUserServices, INotificationServices notificationServices, IToastNotification toast)
 {
     _cocktailServices     = cocktailServices;
     _barServices          = barServices;
     _ingredientServices   = ingredientServices;
     _appUserServices      = appUserServices;
     _notificationServices = notificationServices;
     _toast = toast;
 }
 public EventDirectorController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          eventServices, eventDirectorServices, logServices, notificationServices, userServices, userRoleServices)
 {
 }
Beispiel #14
0
 public ConfigSettingController(
     BusinessServices.Auth.IUserServices authUserServices,
     BusinessServices.Auth.IRoleServices roleServices,
     BusinessServices.Auth.IApplicationServices applicationServices,
     BusinessServices.Auth.IIndustryServices industryServices,
     BusinessServices.Auth.IRegionServices regionServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          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 #16
0
 public EmailNotificationController(
     IUserServices authUserServices,
     IRoleServices roleServices,
     IApplicationServices applicationServices,
     IIndustryServices industryServices,
     IRegionServices regionServices,
     IEditionServices editionServices,
     IEventServices eventServices,
     IEventDirectorServices eventDirectorServices,
     ILogServices logServices,
     INotificationServices notificationServices,
     IEmailNotificationHelper emailNotificationHelper,
     IUserServices userServices,
     IUserRoleServices userRoleServices) :
     base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
          editionServices, eventServices, eventDirectorServices, logServices, notificationServices, userServices, userRoleServices)
 {
     _emailNotificationHelper = emailNotificationHelper;
 }
Beispiel #17
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 NotificationController(
            IUserServices authUserServices,
            IRoleServices roleServices,
            IApplicationServices applicationServices,
            IIndustryServices industryServices,
            IRegionServices regionServices,
            IEventServices eventServices,
            IEventDirectorServices eventDirectorServices,
            ILogServices logServices,
            INotificationServices notificationServices,
            IUserServices userServices,
            IUserRoleServices userRoleServices,
            IInAppNotificationHelper inAppNotificationHelper) :
            base(authUserServices, roleServices, applicationServices, industryServices, regionServices,
                 eventServices, eventDirectorServices, logServices, notificationServices, userServices, userRoleServices)
        {
            _inAppNotificationHelper = inAppNotificationHelper;

            ViewEngineResultFunc = RenderView;
        }
 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)
 {
 }
 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 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 void SetUp()
        {
            var unitOfWork = new UnitOfWork();

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

            _eventServices         = new EventServices(unitOfWork);
            _eventDirectorServices = new EventDirectorServices(unitOfWork);
            _logServices           = new LogServices(new UnitOfWork());
            _notificationServices  = new NotificationServices(new UnitOfWork());
            _userServices          = new UserServices(unitOfWork);
            _userRoleServices      = new UserRoleServices(unitOfWork);

            _editionHelper           = new EditionHelper();
            _inAppNotificationHelper = new InAppNotificationHelper(_editionHelper);

            _controller = new NotificationController(
                _authUserServices,
                _roleServices,
                _applicationServices,
                _industryServices,
                _regionServices,
                _eventServices,
                _eventDirectorServices,
                _logServices,
                _notificationServices,
                _userServices,
                _userRoleServices,
                _inAppNotificationHelper);
            _controller.SetDefaultUser();

            AutoMapperConfig.Register();
        }
Beispiel #23
0
 public HomeController(INotificationServices notificationServices)
 {
     _notificationServices = notificationServices;
 }
Beispiel #24
0
 public AssignmentController(IAssignmentRepository assignmentRepository, IImageBucketRepository imageBucketRepository, INotificationServices notificationServices)
 {
     _assignmentRepository  = assignmentRepository ?? throw new ArgumentNullException(nameof(assignmentRepository));
     _imageBucketRepository = imageBucketRepository ?? throw new ArgumentNullException(nameof(imageBucketRepository));
     _notificationServices  = notificationServices ?? throw new ArgumentNullException(nameof(notificationServices));
 }
 public NotificationsController(INotificationServices notificationServices,
     IUserServices userServices)
 {
     this.notificationServices = notificationServices;
     this.userServices = userServices;
 }
 public EventReminderEmailToAssociateFunction(IAssociateQueryServices associateQueryServices,
                                              INotificationServices notificationServices)
 {
     AssociateQueryServices = associateQueryServices;
     NotificationServices   = notificationServices;
 }
 public ServicesController(INotificationServices notification, IUserAuthentication authenticate)
 {
     _notification = notification;
     _authenticate = authenticate;
 }
Beispiel #28
0
 public NewsController(INotificationServices notificationServices)
 {
     _notificationServices = notificationServices;
 }
 public NotificationsController(INotificationServices entityServices, IRepository <Notification> entityRepository, IUserCServices userCServices)
 {
     _entityServices   = entityServices;
     _entityRepository = entityRepository;
     _userCServices    = userCServices;
 }
 public NotificationController(INotificationServices notificationServices, IUserServices userService, IEmailService emailSender)
 {
     _notificationServices = notificationServices;
     _userService          = userService;
     _emailSender          = emailSender;
 }
 public SendBirthdayWishesFunction(IAssociateQueryServices associateQueryServices,
                                   INotificationServices notificationServices)
 {
     AssociateQueryServices = associateQueryServices;
     NotificationServices   = notificationServices;
 }
 public NotificationsController(INotificationServices notificationService,
                                IToastNotification toast)
 {
     _notificationServices = notificationService;
     _toast = toast;
 }
 public LoggedUserHeader(INotificationServices notificationServices,
                         IAppUserServices appUserServices)
 {
     _notificationServices = notificationServices;
     _appUserServices      = appUserServices;
 }