public SoftwareService(ISoftwareRepository _repository, IProductTypeRepository _repositoryProductType,
                        ISoftwareTypeRepository _repositorySoftwareType, IProductSupplierRepository _repositoryProductSupplier,
                        IProductDetailRepository _repositoryProductDetail, IPurchaseItemRepository _repositoryPurchaseItem, IStatusRepository _repositoryStatus, IHostingEnvironment _hostingEnv)
 {
     repository                = _repository;
     repositoryProductType     = _repositoryProductType;
     repositorySoftwareType    = _repositorySoftwareType;
     repositoryProductSupplier = _repositoryProductSupplier;
     repositoryProductDetail   = _repositoryProductDetail;
     repositoryPurchaseItem    = _repositoryPurchaseItem;
     repositoryStatus          = _repositoryStatus;
     hostingEnv                = _hostingEnv;
 }
Exemple #2
0
 public LicenseService(ILicenseRepository _repository, IAssetRepository _repositoryAsset,
                       IAssetLicenseRepository _repositoryAssetLicense, ILicenseValidityTypeRepository _repositoryLicenseValidityType,
                       ILicenseTypeRepository _repositoryLicenseType, IPurchaseItemRepository _repositoryPurchaseItem,
                       ISoftwareTypeRepository _repositorySoftwareType, IStatusRepository _repositoryStatus, IHostingEnvironment _hostingEnv)
 {
     repository                    = _repository;
     repositoryAsset               = _repositoryAsset;
     repositoryAssetLicense        = _repositoryAssetLicense;
     repositoryLicenseValidityType = _repositoryLicenseValidityType;
     repositoryLicenseType         = _repositoryLicenseType;
     repositoryPurchaseItem        = _repositoryPurchaseItem;
     repositorySoftwareType        = _repositorySoftwareType;
     repositoryStatus              = _repositoryStatus;
     hostingEnv                    = _hostingEnv;
 }
 public SoftwareTypeService(ISoftwareTypeRepository _repository, ISoftwareRepository _repositorySoftware)
 {
     repository         = _repository;
     repositorySoftware = _repositorySoftware;
 }