Ejemplo n.º 1
0
        public TaskNotificationsOperation(IKernel kernel)
        {
            _reportingService = kernel.Get <ReportingService>();

            _emailService = kernel.Get <EmailService>();

            _emailTrackerService = kernel.Get <EmailTrackerService>();

            _logService = kernel.Get <LoggerService>();

            _notificationContentFactory = kernel.Get <NotificationContentFactory>();

            _notificationContentType =
                _notificationContentFactory.GetTaskNotificationContentGenerator(
                    Models.Enums.Enums.TaskType.ClientService);
        }
        public ClientServiceCollectiveTaskNotificationOperation(IKernel kernel)
        {
            _commonService = kernel.Get <CommonService>();

            _reportingService = kernel.Get <ReportingService>();

            _emailService = kernel.Get <EmailService>();

            _logService = kernel.Get <LoggerService>();

            _emailTrackerService = kernel.Get <EmailTrackerService>();

            _notificationContentFactory = kernel.Get <NotificationContentFactory>();

            _notificationContentGenerator =
                _notificationContentFactory.GetTaskNotificationContentGenerator(Models.Enums.Enums.TaskType.ClientServiceCollective);
        }