mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-16 15:16:34 +01:00
16 lines
441 B
C#
16 lines
441 B
C#
|
|
namespace TINK.Repository.Request
|
|
{
|
|
public static class RequestBuilderHelper
|
|
{
|
|
/// <summary>
|
|
/// Gets the REST language parameter.
|
|
/// </summary>
|
|
/// <param name="uiIsoLangugageName">Two letter ISO language name.</param>
|
|
/// <returns></returns>
|
|
public static string GetLanguageParameter(string uiIsoLangugageName)
|
|
=> !string.IsNullOrEmpty(uiIsoLangugageName)
|
|
? $"&lang={uiIsoLangugageName}"
|
|
: string.Empty;
|
|
}
|
|
}
|