From b075e0a5b963435c67b7027f85b51ff181adc2d1 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Sun, 24 Feb 2013 23:39:53 -0500 Subject: convert upload image url to rest --- MediaBrowser.Api/ApiService.cs | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'MediaBrowser.Api/ApiService.cs') 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 @@ -10,24 +8,6 @@ namespace MediaBrowser.Api /// public static class ApiService { - /// - /// Gets a User by Id - /// - /// The id of the user - /// User. - /// id - public static User GetUserById(string id) - { - if (string.IsNullOrEmpty(id)) - { - throw new ArgumentNullException("id"); - } - - var guid = new Guid(id); - - return Kernel.Instance.GetUserById(guid); - } - /// /// Determines whether [is API URL match] [the specified URL]. /// -- cgit v1.2.3