2012-07-20 02:22:44 +00:00
|
|
|
|
using MediaBrowser.Controller;
|
2012-07-13 03:50:50 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Api.HttpHandlers
|
|
|
|
|
{
|
2012-08-12 23:57:54 +00:00
|
|
|
|
public class PersonHandler : JsonHandler
|
2012-07-13 03:50:50 +00:00
|
|
|
|
{
|
2012-08-12 23:57:54 +00:00
|
|
|
|
protected sealed override object ObjectToSerialize
|
2012-07-13 03:50:50 +00:00
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2012-07-16 16:50:44 +00:00
|
|
|
|
return Kernel.Instance.ItemController.GetPerson(QueryString["name"]);
|
2012-07-13 03:50:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|