sharee.bike-App/TINKLib/ViewModel/CopriWebView/RegisterPageViewModel.cs
2021-05-13 20:03:07 +02:00

19 lines
549 B
C#

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