Example #1
0
 public RequestService(ITenantPersistenceService tenantPersistenceService,
                       IRequestRepository requestRepository,
                       IHoldingRequestRepository holdingRequestRepository,
                       IRequestHistoryRepository requestHistoryRepository,
                       ISystemEventRepository systemEventRepository,
                       ICourierRepository courierRepository,
                       IStaticValueService staticValueService,
                       INoteRequestRepository noteRequestRepository,
                       ISystemConfigurationRepository systemConfigurationRepository,
                       IScheduleRepository scheduleRepository, IGoogleService googleService,
                       ILocationRepository locationRepository,
                       IDiagnosticService diagnosticService,
                       IBusinessRuleSet <Request> businessRuleSet = null)
     : base(requestRepository, requestRepository, tenantPersistenceService, businessRuleSet)
 {
     _requestRepository             = requestRepository;
     _holdingRequestRepository      = holdingRequestRepository;
     _requestHistoryRepository      = requestHistoryRepository;
     _systemEventRepository         = systemEventRepository;
     _courierRepository             = courierRepository;
     _staticValueService            = staticValueService;
     _noteRequestRepository         = noteRequestRepository;
     _systemConfigurationRepository = systemConfigurationRepository;
     _scheduleRepository            = scheduleRepository;
     _googleService      = googleService;
     _locationRepository = locationRepository;
     _diagnosticService  = diagnosticService;
 }
Example #2
0
 public CommonController(IAuthenticationService authenticationService,
                         IDiagnosticService diagnosticService, ITempUploadFileService tempUploadFileService, ISystemEventService systemEventService,
                         IGoogleService googleService, IFranchiseeConfigurationService franchiseeConfigurationService, IEmailHandler emailHandler,
                         IStaticValueService staticValueService)
     : base(authenticationService, diagnosticService, null)
 {
     _authenticationService          = authenticationService;
     _diagnosticService              = diagnosticService;
     _tempUploadFileService          = tempUploadFileService;
     _systemEventService             = systemEventService;
     _staticValueService             = staticValueService;
     _tempUploadFileService.FilePath = "/Content/Upload/";
     _googleService = googleService;
     _franchiseeConfigurationService = franchiseeConfigurationService;
     _emailHandler = emailHandler;
 }
Example #3
0
 public HoldingRequestService(ITenantPersistenceService tenantPersistenceService,
                              IHoldingRequestRepository holdingRequestRepository,
                              IRequestRepository requestRepository,
                              IStaticValueService staticValueService,
                              ISystemEventRepository systemEventRepository,
                              ICourierRepository courierRepository,
                              IRequestService requestService,
                              IBusinessRuleSet <HoldingRequest> businessRuleSet = null)
     : base(holdingRequestRepository, holdingRequestRepository, tenantPersistenceService, businessRuleSet)
 {
     FriendlyEntityName        = "Holding request";
     _holdingRequestRepository = holdingRequestRepository;
     _requestRepository        = requestRepository;
     _staticValueService       = staticValueService;
     _systemEventRepository    = systemEventRepository;
     _courierRepository        = courierRepository;
     _requestService           = requestService;
 }
Example #4
0
 public RequestController(IAuthenticationService authenticationService, IGridConfigService gridConfigService,
                          IRequestService requestService, IStaticValueService staticValueService, IRenderViewToString renderViewToString, INoteRequestService noteRequestService,
                          ISystemEventService systemEventService, ILocationService locationService, IGoogleService googleService, IUserService userService,
                          IHoldingRequestService holdingRequestService, ISystemConfigurationService systemConfigurationService, IDiagnosticService diagnosticService)
     : base(authenticationService, diagnosticService, requestService)
 {
     _requestService             = requestService;
     _staticValueService         = staticValueService;
     _gridConfigService          = gridConfigService;
     _renderViewToString         = renderViewToString;
     _noteRequestService         = noteRequestService;
     _systemEventService         = systemEventService;
     _locationService            = locationService;
     _googleService              = googleService;
     _systemConfigurationService = systemConfigurationService;
     _holdingRequestService      = holdingRequestService;
     _userService       = userService;
     _diagnosticService = diagnosticService;
 }