2012-07-13 03:50:50 +00:00
|
|
|
|
using MediaBrowser.Common.Net;
|
2012-07-16 16:50:44 +00:00
|
|
|
|
using MediaBrowser.Controller;
|
2012-07-13 03:50:50 +00:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Api.HttpHandlers
|
|
|
|
|
{
|
|
|
|
|
public class PersonHandler : ItemHandler
|
|
|
|
|
{
|
|
|
|
|
public PersonHandler(RequestContext ctx)
|
|
|
|
|
: base(ctx)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override BaseItem ItemToSerialize
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2012-07-16 16:50:44 +00:00
|
|
|
|
return Kernel.Instance.ItemController.GetPerson(QueryString["name"]);
|
2012-07-13 03:50:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|