Made BaseJsonHandler strongly typed. Moved DTO entities to their own DTO namespace in Model.

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-17 09:16:50 -04:00
parent 8a2e0badae
commit 5c094afd7e
26 changed files with 85 additions and 74 deletions

View File

@@ -2,12 +2,13 @@
using System.Linq;
using MediaBrowser.Common.Net.Handlers;
using MediaBrowser.Controller;
using MediaBrowser.Model.Plugins;
namespace MediaBrowser.Api.HttpHandlers
{
public class PluginConfigurationHandler : BaseJsonHandler
public class PluginConfigurationHandler : BaseJsonHandler<BasePluginConfiguration>
{
protected override object GetObjectToSerialize()
protected override BasePluginConfiguration GetObjectToSerialize()
{
string pluginName = QueryString["name"];