Exemple #1
0
 public AssetService(IAssetRepository _repository, IAssetDetailRepository _repositoryAssetDetail, IAssetHistoryRepository _repositoryAssetHistory,
                     IAssetLicenseRepository _repositoryAssetLicense, IAssetOwnerRepository _repositoryAssetOwner,
                     IStatusRepository _repositoryStatus, IBackupRepository _repositoryBackup, ILicenseRepository _repositoryLicense,
                     IOperationalSiteRepository _repositoryOperationalSite, IOperationalSiteLocationRepository _repositoryOperationalSiteLocation,
                     IPurchaseItemRepository _repositoryPurchaseItem, IRackRepository _repositoryRack, IRackLocationRepository _repositoryRackLocation,
                     IURackRepository _repositoryURack, IWarningPeriodRepository _repositoryWarningPeriod, IPurchaseTypeRepository _repositoryPurchaseType,
                     IWarehouseRepository _repositoryWarehouse, UserManager <ApplicationUser> userManager)
 {
     repository                        = _repository;
     repositoryAssetDetail             = _repositoryAssetDetail;
     repositoryAssetHistory            = _repositoryAssetHistory;
     repositoryAssetLicense            = _repositoryAssetLicense;
     repositoryAssetOwner              = _repositoryAssetOwner;
     repositoryStatus                  = _repositoryStatus;
     repositoryBackup                  = _repositoryBackup;
     repositoryLicense                 = _repositoryLicense;
     repositoryOperationalSite         = _repositoryOperationalSite;
     repositoryOperationalSiteLocation = _repositoryOperationalSiteLocation;
     repositoryPurchaseItem            = _repositoryPurchaseItem;
     repositoryRack                    = _repositoryRack;
     repositoryRackLocation            = _repositoryRackLocation;
     repositoryURack                   = _repositoryURack;
     repositoryWarningPeriod           = _repositoryWarningPeriod;
     repositoryPurchaseType            = _repositoryPurchaseType;
     repositoryWarehouse               = _repositoryWarehouse;
     this.userManager                  = userManager;
 }
Exemple #2
0
 public OperationalSiteService(IOperationalSiteRepository _repository, IAssetRepository _repositoryAsset,
                               IAssetOwnerRepository _repositoryAssetOwner,
                               IOperationalSiteLocationRepository _repositoryOperationalSiteLocation)
 {
     repository           = _repository;
     repositoryAsset      = _repositoryAsset;
     repositoryAssetOwner = _repositoryAssetOwner;
     repositoryOperationalSiteLocation = _repositoryOperationalSiteLocation;
 }
 public OperationalSiteLocationService(IOperationalSiteLocationRepository _repository,
                                       IAssetRepository _repositoryAsset,
                                       IOperationalSiteRepository _repositoryOperationalSite,
                                       ILocationRepository _repositoryLocation)
 {
     repository                = _repository;
     repositoryAsset           = _repositoryAsset;
     repositoryOperationalSite = _repositoryOperationalSite;
     repositoryLocation        = _repositoryLocation;
 }