diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-24 23:39:53 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-24 23:39:53 -0500 |
| commit | b075e0a5b963435c67b7027f85b51ff181adc2d1 (patch) | |
| tree | eebc13b5bc82de65c7d977295c5106f7d9d2ed76 /MediaBrowser.Api/ApiService.cs | |
| parent | add43baffef74fcd34cfc6ef02d36777be05b274 (diff) | |
convert upload image url to rest
Diffstat (limited to 'MediaBrowser.Api/ApiService.cs')
| -rw-r--r-- | MediaBrowser.Api/ApiService.cs | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/MediaBrowser.Api/ApiService.cs b/MediaBrowser.Api/ApiService.cs index e6e4594c1..33ea492e0 100644 --- a/MediaBrowser.Api/ApiService.cs +++ b/MediaBrowser.Api/ApiService.cs @@ -1,6 +1,4 @@ -using MediaBrowser.Controller; -using MediaBrowser.Controller.Entities; -using System; +using System; using System.Net; namespace MediaBrowser.Api @@ -11,24 +9,6 @@ namespace MediaBrowser.Api public static class ApiService { /// <summary> - /// Gets a User by Id - /// </summary> - /// <param name="id">The id of the user</param> - /// <returns>User.</returns> - /// <exception cref="System.ArgumentNullException">id</exception> - public static User GetUserById(string id) - { - if (string.IsNullOrEmpty(id)) - { - throw new ArgumentNullException("id"); - } - - var guid = new Guid(id); - - return Kernel.Instance.GetUserById(guid); - } - - /// <summary> /// Determines whether [is API URL match] [the specified URL]. /// </summary> /// <param name="url">The URL.</param> |
