using System.Collections.Generic; using MediaBrowser.Controller; using MediaBrowser.Model.Entities; namespace MediaBrowser.Api.HttpHandlers { /// /// Gets all items within a Genre /// public class ItemsWithGenreHandler : ItemListHandler { protected override IEnumerable ItemsToSerialize { get { Folder parent = ApiService.GetItemById(QueryString["id"]) as Folder; return Kernel.Instance.GetItemsWithGenre(parent, QueryString["name"], UserId); } } } }