public static string GetBaseUrl(string DomainName) { return(WebRequestHelper.Check($"http://{DomainName}") ? $"http://{DomainName}" : $"https://{DomainName}"); }