16 lines
402 B
C#
16 lines
402 B
C#
using System.Collections.Generic;
|
|
using MediaBrowser.Common.Net.Handlers;
|
|
using MediaBrowser.Controller;
|
|
using MediaBrowser.Model.Users;
|
|
|
|
namespace MediaBrowser.Api.HttpHandlers
|
|
{
|
|
class UsersHandler : BaseJsonHandler<IEnumerable<User>>
|
|
{
|
|
protected override IEnumerable<User> GetObjectToSerialize()
|
|
{
|
|
return Kernel.Instance.Users;
|
|
}
|
|
}
|
|
}
|