2012-08-15 13:20:29 +00:00
|
|
|
|
using MediaBrowser.Common.Net.Handlers;
|
|
|
|
|
using MediaBrowser.Controller;
|
2012-08-17 13:16:50 +00:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
2012-07-13 03:50:50 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Api.HttpHandlers
|
|
|
|
|
{
|
2012-08-17 13:16:50 +00:00
|
|
|
|
public class PersonHandler : BaseJsonHandler<Person>
|
2012-07-13 03:50:50 +00:00
|
|
|
|
{
|
2012-08-17 13:16:50 +00:00
|
|
|
|
protected override Person GetObjectToSerialize()
|
2012-07-13 03:50:50 +00:00
|
|
|
|
{
|
2012-08-15 13:20:29 +00:00
|
|
|
|
return Kernel.Instance.ItemController.GetPerson(QueryString["name"]);
|
2012-07-13 03:50:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|