using System;
namespace MediaBrowser.Model.ApiClient
{
public static class ApiHelpers
{
///
/// Gets the name of the slug.
///
/// The name.
/// System.String.
public static string GetSlugName(string name)
{
if (string.IsNullOrEmpty(name))
{
throw new ArgumentNullException("name");
}
return name.Replace('/', '-').Replace('?', '-').Replace('&', '-');
}
}
}