Beispiel #1
0
 public EmailController(IDepartmentSettingsService departmentSettingsService, INumbersService numbersService,
                        ILimitsService limitsService, ICallsService callsService, IQueueService queueService, IDepartmentsService departmentsService,
                        IUserProfileService userProfileService, ITextCommandService textCommandService, IActionLogsService actionLogsService,
                        IUserStateService userStateService, ICommunicationService communicationService, IDistributionListsService distributionListsService,
                        IUsersService usersService, IEmailService emailService, IDepartmentGroupsService departmentGroupsService, IMessageService messageService,
                        IFileService fileService, IUnitsService unitsService)
 {
     _departmentSettingsService = departmentSettingsService;
     _numbersService            = numbersService;
     _limitsService             = limitsService;
     _callsService             = callsService;
     _queueService             = queueService;
     _departmentsService       = departmentsService;
     _userProfileService       = userProfileService;
     _textCommandService       = textCommandService;
     _actionLogsService        = actionLogsService;
     _userStateService         = userStateService;
     _communicationService     = communicationService;
     _distributionListsService = distributionListsService;
     _usersService             = usersService;
     _emailService             = emailService;
     _departmentGroupsService  = departmentGroupsService;
     _messageService           = messageService;
     _fileService  = fileService;
     _unitsService = unitsService;
 }
Beispiel #2
0
 public HomeController(IDepartmentsService departmentsService, IUsersService usersService, IActionLogsService actionLogsService,
                       IUserStateService userStateService, IDepartmentGroupsService departmentGroupsService, Resgrid.Model.Services.IAuthorizationService authorizationService,
                       IUserProfileService userProfileService, ICallsService callsService, IGeoLocationProvider geoLocationProvider, IDepartmentSettingsService departmentSettingsService,
                       IUnitsService unitsService, IAddressService addressService, IPersonnelRolesService personnelRolesService, IPushService pushService, ILimitsService limitsService,
                       ICustomStateService customStateService, IEventAggregator eventAggregator, IOptions <AppOptions> appOptionsAccessor, UserManager <IdentityUser> userManager)
 {
     _departmentsService        = departmentsService;
     _usersService              = usersService;
     _actionLogsService         = actionLogsService;
     _userStateService          = userStateService;
     _departmentGroupsService   = departmentGroupsService;
     _authorizationService      = authorizationService;
     _userProfileService        = userProfileService;
     _callsService              = callsService;
     _geoLocationProvider       = geoLocationProvider;
     _departmentSettingsService = departmentSettingsService;
     _unitsService              = unitsService;
     _addressService            = addressService;
     _personnelRolesService     = personnelRolesService;
     _pushService        = pushService;
     _limitsService      = limitsService;
     _customStateService = customStateService;
     _eventAggregator    = eventAggregator;
     _appOptionsAccessor = appOptionsAccessor;
     _userManager        = userManager;
 }
Beispiel #3
0
 public DepositsController(
     ILimitsService limitsService,
     IMapper mapper
     )
 {
     _limitsService = limitsService;
     _mapper        = mapper;
 }
Beispiel #4
0
 public ProfileController(IUsersService usersService, IDepartmentsService departmentsService, ILimitsService limitsService,
                          IUserProfileService userProfileService, IAuthorizationService authorizationService, IAddressService addressService)
 {
     _usersService         = usersService;
     _departmentsService   = departmentsService;
     _limitsService        = limitsService;
     _userProfileService   = userProfileService;
     _authorizationService = authorizationService;
     _addressService       = addressService;
 }
Beispiel #5
0
 public TiersService(
     ILimitsService limitsService,
     ISettingsService settingsService,
     ITierUpgradeService tierUpgradeService,
     IQuestionnaireService questionnaireService
     )
 {
     _limitsService        = limitsService;
     _settingsService      = settingsService;
     _tierUpgradeService   = tierUpgradeService;
     _questionnaireService = questionnaireService;
 }
 public LimitsController(
     ILimitsService limitsService,
     IClientAccountClient clientAccountClient,
     ISettingsService settingsService,
     IMapper mapper
     )
 {
     _limitsService       = limitsService;
     _clientAccountClient = clientAccountClient;
     _settingsService     = settingsService;
     _mapper = mapper;
 }
Beispiel #7
0
 /// <summary>
 /// Operations to perform against the department links system. Department Links allow departments to
 /// share data to other departments, for example calls or resource orders.
 /// </summary>
 public LinksController(IDepartmentsService departmentsService, IDepartmentLinksService departmentLinksService, ILimitsService limitsService,
                        ICallsService callsService, IUserProfileService userProfileService, IGeoLocationProvider geoLocationProvider, IUnitsService unitsService,
                        IActionLogsService actionLogsService, IUserStateService userStateService)
 {
     _departmentsService     = departmentsService;
     _departmentLinksService = departmentLinksService;
     _limitsService          = limitsService;
     _callsService           = callsService;
     _userProfileService     = userProfileService;
     _geoLocationProvider    = geoLocationProvider;
     _unitsService           = unitsService;
     _actionLogsService      = actionLogsService;
     _userStateService       = userStateService;
 }
Beispiel #8
0
 public AccountController(IDepartmentsService departmentsService, IUsersService usersService, IActionLogsService actionLogsService,
                          IEmailService emailService, IUserProfileService userProfileService, IDeleteService deleteService, IAuthorizationService authorizationService,
                          ILimitsService limitsService, IPersonnelRolesService personnelRolesService)
 {
     _departmentsService    = departmentsService;
     _usersService          = usersService;
     _actionLogsService     = actionLogsService;
     _emailService          = emailService;
     _userProfileService    = userProfileService;
     _deleteService         = deleteService;
     _authorizationService  = authorizationService;
     _limitsService         = limitsService;
     _personnelRolesService = personnelRolesService;
 }
 public LimitReachedHandler(
     ILimitsService limitsService,
     IClientAccountClient clientAccountClient,
     IPersonalDataService personalDataService,
     ILogFactory logFactory
     )
 {
     _limitsService       = limitsService;
     _clientAccountClient = clientAccountClient;
     _personalDataService = personalDataService;
     _log                     = logFactory.CreateLog(this);
     _timerTrigger            = new TimerTrigger(nameof(LimitReachedHandler), TimeSpan.FromMinutes(10), logFactory);
     _timerTrigger.Triggered += Execute;
 }
Beispiel #10
0
 public UnitsController(IDepartmentsService departmentsService, IUsersService usersService, IUnitsService unitsService, Model.Services.IAuthorizationService authorizationService,
                        ILimitsService limitsService, IDepartmentGroupsService departmentGroupsService, ICallsService callsService, IEventAggregator eventAggregator, ICustomStateService customStateService,
                        IGeoService geoService)
 {
     _departmentsService      = departmentsService;
     _usersService            = usersService;
     _unitsService            = unitsService;
     _authorizationService    = authorizationService;
     _limitsService           = limitsService;
     _departmentGroupsService = departmentGroupsService;
     _callsService            = callsService;
     _eventAggregator         = eventAggregator;
     _customStateService      = customStateService;
     _geoService = geoService;
 }
Beispiel #11
0
 public LinksController(IDepartmentLinksService departmentLinksService, IDepartmentsService departmentsService, IEmailService emailService,
                        ICallsService callsService, IUnitsService unitsService, IActionLogsService actionLogsService, IDepartmentGroupsService departmentGroupsService,
                        IUserStateService userStateService, IPersonnelRolesService personnelRolesService, ILimitsService limitsService)
 {
     _departmentLinksService  = departmentLinksService;
     _departmentsService      = departmentsService;
     _emailService            = emailService;
     _callsService            = callsService;
     _unitsService            = unitsService;
     _actionLogsService       = actionLogsService;
     _departmentGroupsService = departmentGroupsService;
     _userStateService        = userStateService;
     _personnelRolesService   = personnelRolesService;
     _limitsService           = limitsService;
 }
Beispiel #12
0
        public TiersController(
            IClientAccountClient clientAccountClient,
            IPersonalDataService personalDataService,
            ITiersService tiersService,
            ILimitsService limitsService,
            IMapper mapper

            )
        {
            _clientAccountClient = clientAccountClient;
            _personalDataService = personalDataService;
            _tiersService        = tiersService;
            _limitsService       = limitsService;
            _mapper = mapper;
        }
Beispiel #13
0
 public GroupsController(IDepartmentsService departmentsService, IUsersService usersService, IDepartmentGroupsService departmentGroupsService,
                         Model.Services.IAuthorizationService authorizationService, ILimitsService limitsService, IGeoLocationProvider geoLocationProvider, IDeleteService deleteService,
                         IEventAggregator eventAggregator, IUserProfileService userProfileService, IUnitsService unitsService, IShiftsService shiftsService)
 {
     _departmentsService      = departmentsService;
     _usersService            = usersService;
     _departmentGroupsService = departmentGroupsService;
     _authorizationService    = authorizationService;
     _limitsService           = limitsService;
     _geoLocationProvider     = geoLocationProvider;
     _deleteService           = deleteService;
     _eventAggregator         = eventAggregator;
     _userProfileService      = userProfileService;
     _unitsService            = unitsService;
     _shiftsService           = shiftsService;
 }
 public ClientDepositsSaga(
     IClientAccountClient clientAccountClient,
     IPersonalDataService personalDataService,
     ILimitsService limitsService,
     ISettingsService settingsService,
     ITemplateFormatter templateFormatter,
     IMapper mapper
     )
 {
     _clientAccountClient = clientAccountClient;
     _personalDataService = personalDataService;
     _limitsService       = limitsService;
     _settingsService     = settingsService;
     _templateFormatter   = templateFormatter;
     _mapper = mapper;
 }
Beispiel #15
0
 public TextMessagesController(IDepartmentSettingsService departmentSettingsService, INumbersService numbersService,
                               ILimitsService limitsService, ICallsService callsService, IQueueService queueService, IDepartmentsService departmentsService,
                               IUserProfileService userProfileService, ITextCommandService textCommandService, IActionLogsService actionLogsService,
                               IUserStateService userStateService, ICommunicationService communicationService)
 {
     _departmentSettingsService = departmentSettingsService;
     _numbersService            = numbersService;
     _limitsService             = limitsService;
     _callsService         = callsService;
     _queueService         = queueService;
     _departmentsService   = departmentsService;
     _userProfileService   = userProfileService;
     _textCommandService   = textCommandService;
     _actionLogsService    = actionLogsService;
     _userStateService     = userStateService;
     _communicationService = communicationService;
 }
Beispiel #16
0
        public Limits(ILimitsService limitsService)
        {
            var limits = limitsService.Get().Result;

            AnswerEditDeadline        = limits.AnswerEditDeadline;
            QuestionEditDeadline      = limits.QuestionEditDeadline;
            CommentEditDeadline       = limits.CommentEditDeadline;
            VoteEditDeadline          = limits.VoteEditDeadline;
            AcceptAnswerDeadline      = limits.AcceptAnswerDeadline;
            QuestionBodyMinimumLength = limits.QuestionBodyMinimumLength;
            AnswerBodyMinimumLength   = limits.AnswerBodyMinimumLength;
            CommentBodyMinimumLength  = limits.CommentBodyMinimumLength;
            TagMinimumCount           = limits.TagMinimumCount;
            TagMaximumCount           = limits.TagMaximumCount;
            UsernameMinimumLength     = limits.UsernameMinimumLength;
            UsernameMaximumLength     = limits.UsernameMaximumLength;
            AboutMeMaximumLength      = limits.AboutMeMaximumLength;
            UpvotePoints   = limits.UpvotePoints;
            DownvotePoints = limits.DownvotePoints;
        }
Beispiel #17
0
 public TwilioProviderController(IDepartmentSettingsService departmentSettingsService, INumbersService numbersService,
                                 ILimitsService limitsService, ICallsService callsService, IQueueService queueService, IDepartmentsService departmentsService,
                                 IUserProfileService userProfileService, ITextCommandService textCommandService, IActionLogsService actionLogsService,
                                 IUserStateService userStateService, ICommunicationService communicationService, IGeoLocationProvider geoLocationProvider,
                                 IDepartmentGroupsService departmentGroupsService, ICustomStateService customStateService, IUnitsService unitsService)
 {
     _departmentSettingsService = departmentSettingsService;
     _numbersService            = numbersService;
     _limitsService             = limitsService;
     _callsService            = callsService;
     _queueService            = queueService;
     _departmentsService      = departmentsService;
     _userProfileService      = userProfileService;
     _textCommandService      = textCommandService;
     _actionLogsService       = actionLogsService;
     _userStateService        = userStateService;
     _communicationService    = communicationService;
     _geoLocationProvider     = geoLocationProvider;
     _departmentGroupsService = departmentGroupsService;
     _customStateService      = customStateService;
     _unitsService            = unitsService;
 }
 public DepositOperationRemovedProjection(
     ILimitsService limitsService
     )
 {
     _limitsService = limitsService;
 }
Beispiel #19
0
 public ExpensesManagerInformationsController(ILimitsService service)
 {
     this.service = service;
 }
 public LimitsCalculator(ILimitsService limitsService, IExpensesService expensesService)
 {
     _limitsService   = limitsService;
     _expensesService = expensesService;
 }