using TINK.Services.CopriApi.ServerUris; namespace TINK.ViewModel.CopriWebView { public class RegisterPageViewModel { /// Holds the merchant id. private string MerchantId { get; } /// Holds the name of the host. private string HostName { get; } public RegisterPageViewModel( string merchantId, string hostName) { HostName = hostName; MerchantId = merchantId; } /// Get Uri of web view for creating account. public string Uri => $"https://{HostName}/{HostName.GetAppFolderName()}/Account/1.%20Kundendaten?sessionid={MerchantId}"; } }