internal CustomerInformationInquiryClientProxy(IDataAccessService dataAccessService, IMappingEngine mapper, ILoadedLocation loadedLocation, ILoggedInUser loggedInUser) { _dataAccessService = dataAccessService; _mapper = mapper; _headerArgs = new HeaderArgs ( loadedLocation.DpiRegion(), loggedInUser.Name(), string.Empty, loggedInUser.Name(), loggedInUser.Email(), loggedInUser.Role() ); }
internal ProvisioningServiceClientProxy(IMappingEngine mapper, ILoggedInUser loggedInUser) { _mapper = mapper; _user = new User { Email = loggedInUser.Email(), Name = loggedInUser.Name(), Role = loggedInUser.Role() }; }