示例#1
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;
 }
示例#2
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;
 }
示例#3
0
 public EventingHub()
 {
     _inboundEventProvider   = WebBootstrapper.GetKernel().Resolve <IInboundEventProvider>();
     _departmentLinksService = WebBootstrapper.GetKernel().Resolve <IDepartmentLinksService>();
     _inboundEventProvider.RegisterForEvents(PersonnelStatusUpdated, UnitStatusUpdated, CallsUpdated, PersonnelStaffingUpdated);
 }
示例#4
0
 public EventingHub()
 {
     _departmentLinksService = ServiceLocator.Current.GetInstance <IDepartmentLinksService>();
 }