19 lines
454 B
C#
19 lines
454 B
C#
using System;
|
|
using MediaBrowser.Controller;
|
|
|
|
namespace MediaBrowser.Api.HttpHandlers
|
|
{
|
|
public class UserConfigurationHandler : JsonHandler
|
|
{
|
|
protected override object ObjectToSerialize
|
|
{
|
|
get
|
|
{
|
|
Guid userId = Guid.Parse(QueryString["userid"]);
|
|
|
|
return Kernel.Instance.ConfigurationController.GetUserConfiguration(userId);
|
|
}
|
|
}
|
|
}
|
|
}
|