예제 #1
0
		public ClientUserService(IClientCompanyManagement clientCompanyManager, IClientBranchManager clientBranchManager, IClientUserManager clientUserManager, IUsersManagement userManagement, IReferenceManagement referenceManagement, IClientUserAccessManager clientUserAccessManager)
		{
			_clientCompanyManager = ValidationUtil.CheckOnNullAndThrowIfNull(clientCompanyManager);
			_clientBranchManager = ValidationUtil.CheckOnNullAndThrowIfNull(clientBranchManager);
			_clientUserManager = ValidationUtil.CheckOnNullAndThrowIfNull(clientUserManager);
			_userManagement = ValidationUtil.CheckOnNullAndThrowIfNull(userManagement);
			_referenceManagement = ValidationUtil.CheckOnNullAndThrowIfNull(referenceManagement);
			_clientUserAccessManager = ValidationUtil.CheckOnNullAndThrowIfNull(clientUserAccessManager);

			_phoneManager = new PhoneManager();
		}
예제 #2
0
		public AppraisalCompanyService(IAppraisalCompanyManagement appraisalCompanyManagement,
			IAppraiserManagement appraisalCompanyAdminManagement,
			IFeeManager feeManager,
			StatusHistoryManager statusHistoryManager,
			IReferenceManagement referenceManagement,
			ICryptographicProvider cryptographicProvider,
			IGeocodingDataService geocodingService)
		{
			_appraisalCompanyManagement = appraisalCompanyManagement;
			_appraisalCompanyAdminManagement = appraisalCompanyAdminManagement;
			_feeManager = feeManager;
			_referenceManagement = referenceManagement;
			_cryptographicProvider = cryptographicProvider;
			_addressManager = new AddressManager(referenceManagement);
			_phoneManager = new PhoneManager();
			_statusHistoryManager = statusHistoryManager;
			_geocodingDataService = geocodingService;
		}