示例#1
0
 public PromotionalOfferManagementService(IManagerContextService managerContextService, IServiceSupplierContextService serviceSupplierContextService,
                                          DirectContractsDbContext dbContext)
 {
     _managerContext         = managerContextService;
     _serviceSupplierContext = serviceSupplierContextService;
     _dbContext = dbContext;
 }
 public RateManagementService(IManagerContextService managerContextService, IServiceSupplierContextService serviceSupplierContextService,
                              DirectContractsDbContext dbContext)
 {
     _dbContext              = dbContext;
     _managerContext         = managerContextService;
     _serviceSupplierContext = serviceSupplierContextService;
 }
 public SeasonManagementService(DirectContractsDbContext dbContext, IManagerContextService managerContextService,
                                IServiceSupplierContextService serviceSupplierContextService)
 {
     _dbContext              = dbContext;
     _managerContext         = managerContextService;
     _serviceSupplierContext = serviceSupplierContextService;
 }
示例#4
0
 public CancellationPolicyManagementService(IManagerContextService managerContextService, IServiceSupplierContextService serviceSupplierContextService,
                                            DirectContractsDbContext dbContext)
 {
     _dbContext              = dbContext;
     _managerContext         = managerContextService;
     _serviceSupplierContext = serviceSupplierContextService;
 }
 public AvailabilityRestrictionsManagementService(DirectContractsDbContext dbContext, IManagerContextService managerContextService,
                                                  IServiceSupplierContextService serviceSupplierContextService)
 {
     _dbContext              = dbContext;
     _managerContext         = managerContextService;
     _serviceSupplierContext = serviceSupplierContextService;
 }
 public AllocationRequirementManagementService(DirectContractsDbContext dbContext,
                                               IManagerContextService managerContextService,
                                               IServiceSupplierContextService serviceSupplierContextService)
 {
     _dbContext              = dbContext;
     _managerContext         = managerContextService;
     _serviceSupplierContext = serviceSupplierContextService;
 }
示例#7
0
 public ContractManagementService(IManagerContextService managerContextService, IServiceSupplierContextService serviceSupplierContextService,
                                  IDocumentManagementService documentManagementService,
                                  DirectContractsDbContext dbContext, IDateTimeProvider dateTimeProvider)
 {
     _managerContext            = managerContextService;
     _serviceSupplierContext    = serviceSupplierContextService;
     _documentManagementService = documentManagementService;
     _dbContext        = dbContext;
     _dateTimeProvider = dateTimeProvider;
 }
示例#8
0
 public DocumentManagementService(IManagerContextService managerContextService, IServiceSupplierContextService serviceSupplierContextService,
                                  DirectContractsDbContext dbContext, IAmazonS3ClientService amazonS3ClientService, IOptions <DocumentManagementServiceOptions> options,
                                  IDateTimeProvider dateTimeProvider)
 {
     _managerContext         = managerContextService;
     _serviceSupplierContext = serviceSupplierContextService;
     _dbContext             = dbContext;
     _amazonS3ClientService = amazonS3ClientService;
     _bucketName            = options.Value.AmazonS3Bucket;
     _dateTimeProvider      = dateTimeProvider;
 }
        public ImageManagementService(IManagerContextService managerContextService, IServiceSupplierContextService serviceSupplierContextService,
                                      DirectContractsDbContext dbContext, IAmazonS3ClientService amazonS3ClientService, IOptions <ImageManagementServiceOptions> options,
                                      IDateTimeProvider dateTimeProvider)
        {
            _managerContext         = managerContextService;
            _serviceSupplierContext = serviceSupplierContextService;
            _dbContext             = dbContext;
            _amazonS3ClientService = amazonS3ClientService;
            _bucketName            = options.Value.AmazonS3Bucket;
            var amazonS3RegionEndpoint = options.Value.AmazonS3RegionEndpoint;

            _basePathToAmazon = $"https://{_bucketName}.s3-{amazonS3RegionEndpoint}.amazonaws.com";
            _dateTimeProvider = dateTimeProvider;
        }
示例#10
0
 public AccommodationManagementService(IManagerContextService managerContextService,
                                       IServiceSupplierContextService serviceSupplierContextService,
                                       IImageManagementService imageManagementService,
                                       IAmenityService amenityService,
                                       DirectContractsDbContext dbContext,
                                       GeometryFactory geometryFactory,
                                       IDateTimeProvider dateTimeProvider)
 {
     _managerContext         = managerContextService;
     _serviceSupplierContext = serviceSupplierContextService;
     _imageManagementService = imageManagementService;
     _amenityService         = amenityService;
     _geometryFactory        = geometryFactory;
     _dbContext        = dbContext;
     _dateTimeProvider = dateTimeProvider;
 }