public LoadCarrierReceiptsService(
     IAuthorizationDataService authData,
     IMapper mapper,
     Dal.OlmaDbContext olmaDbContext,
     IRepository <Olma.LoadCarrierReceipt> olmaLoadCarrierReceiptRepo,
     IRepository <Olma.LoadCarrier> olmaLoadCarrierRepo,
     IRepository <Olma.CustomerPartner> olmaCustomerPartnerRepo,
     IRepository <Olma.CustomerDivision> olmaCustomerDivisionRepo,
     ISynchronizationsService synchronizationsService,
     INumberSequencesService numberSequencesService,
     IDocumentsService documentsService,
     Reporting.IReportGeneratorService reportGeneratorService,
     IPostingRequestsService postingRequestsService,
     IServiceProvider serviceProvider) : base(authData, mapper)
 {
     _olmaDbContext = olmaDbContext;
     _olmaLoadCarrierReceiptRepo = olmaLoadCarrierReceiptRepo;
     _olmaLoadCarrierRepo        = olmaLoadCarrierRepo;
     _olmaCustomerPartnerRepo    = olmaCustomerPartnerRepo;
     _olmaCustomerDivisionRepo   = olmaCustomerDivisionRepo;
     _numberSequencesService     = numberSequencesService;
     _documentsService           = documentsService;
     _reportGeneratorService     = reportGeneratorService;
     _postingRequestsService     = postingRequestsService;
     _serviceProvider            = serviceProvider;
     _synchronizationsService    = synchronizationsService;
 }
示例#2
0
 public VouchersService(
     IAuthorizationDataService authData,
     IAuthorizationService authService,
     IMapper mapper,
     Dal.OlmaDbContext olmaDbContext,
     IServiceProvider serviceProvider,
     IRepository <Olma.Voucher> olmaVoucherRepo,
     IRepository <Olma.CustomerPartner> olmaCustomerPartnerRepo,
     IRepository <Olma.PartnerDirectory> olmaPartnerDirectoryRepo,
     IRepository <Olma.Partner> olmaPartnerRepo,
     INumberSequencesService numberSequencesService,
     IDocumentTypesService documentTypesService,
     IDocumentsService documentsService,
     IPostingRequestsService postingRequestsService,
     Reporting.IReportGeneratorService reportGeneratorService,
     ISynchronizationsService synchronizationsService) : base(authData, authService, mapper)
 {
     _olmaDbContext            = olmaDbContext;
     _serviceProvider          = serviceProvider;
     _olmaVoucherRepo          = olmaVoucherRepo;
     _olmaCustomerPartnerRepo  = olmaCustomerPartnerRepo;
     _olmaPartnerDirectoryRepo = olmaPartnerDirectoryRepo;
     _olmaPartnerRepo          = olmaPartnerRepo;
     _numberSequencesService   = numberSequencesService;
     _documentTypesService     = documentTypesService;
     _documentsService         = documentsService;
     _reportGeneratorService   = reportGeneratorService;
     _synchronizationsService  = synchronizationsService;
     _postingRequestsService   = postingRequestsService;
 }
        public DocumentsService(
            IAuthorizationDataService authData,
            IMapper mapper,
            IStorageService storage,
            IRepository <Olma.Document> olmaDocumentRepo,
            Reporting.IReportGeneratorService reportGeneratorService,
            IServiceProvider serviceProvider

            ) : base(authData, mapper)
        {
            _storage                = storage;
            _olmaDocumentRepo       = olmaDocumentRepo;
            _reportGeneratorService = reportGeneratorService;
            _serviceProvider        = serviceProvider;
        }