Пример #1
0
 public CallsService(ICallsRepository callsRepository, ICommunicationService communicationService,
                     IGenericDataRepository <CallDispatch> callDispatchsRepository, ICallTypesRepository callTypesRepository, ICallEmailFactory callEmailFactory,
                     ICacheProvider cacheProvider, IGenericDataRepository <CallNote> callNotesRepository,
                     IGenericDataRepository <CallAttachment> callAttachmentRepository, IGenericDataRepository <CallDispatchGroup> callDispatchGroupRepository,
                     IGenericDataRepository <CallDispatchUnit> callDispatchUnitRepository, IGenericDataRepository <CallDispatchRole> callDispatchRoleRepository,
                     IGenericDataRepository <DepartmentCallPriority> departmentCallPriorityRepository, IShortenUrlProvider shortenUrlProvider)
 {
     _callsRepository                  = callsRepository;
     _communicationService             = communicationService;
     _callDispatchsRepository          = callDispatchsRepository;
     _callTypesRepository              = callTypesRepository;
     _callEmailFactory                 = callEmailFactory;
     _cacheProvider                    = cacheProvider;
     _callNotesRepository              = callNotesRepository;
     _callAttachmentRepository         = callAttachmentRepository;
     _callDispatchGroupRepository      = callDispatchGroupRepository;
     _callDispatchUnitRepository       = callDispatchUnitRepository;
     _callDispatchRoleRepository       = callDispatchRoleRepository;
     _departmentCallPriorityRepository = departmentCallPriorityRepository;
     _shortenUrlProvider               = shortenUrlProvider;
 }
Пример #2
0
 public CallsService(ICallsRepository callsRepository, ICommunicationService communicationService,
                     ICallDispatchesRepository callDispatchesRepository, ICallTypesRepository callTypesRepository, ICallEmailFactory callEmailFactory,
                     ICacheProvider cacheProvider, ICallNotesRepository callNotesRepository,
                     ICallAttachmentRepository callAttachmentRepository, ICallDispatchGroupRepository callDispatchGroupRepository,
                     ICallDispatchUnitRepository callDispatchUnitRepository, ICallDispatchRoleRepository callDispatchRoleRepository,
                     IDepartmentCallPriorityRepository departmentCallPriorityRepository, IShortenUrlProvider shortenUrlProvider, ICallProtocolsRepository callProtocolsRepository)
 {
     _callsRepository                  = callsRepository;
     _communicationService             = communicationService;
     _callDispatchesRepository         = callDispatchesRepository;
     _callTypesRepository              = callTypesRepository;
     _callEmailFactory                 = callEmailFactory;
     _cacheProvider                    = cacheProvider;
     _callNotesRepository              = callNotesRepository;
     _callAttachmentRepository         = callAttachmentRepository;
     _callDispatchGroupRepository      = callDispatchGroupRepository;
     _callDispatchUnitRepository       = callDispatchUnitRepository;
     _callDispatchRoleRepository       = callDispatchRoleRepository;
     _departmentCallPriorityRepository = departmentCallPriorityRepository;
     _shortenUrlProvider               = shortenUrlProvider;
     _callProtocolsRepository          = callProtocolsRepository;
 }