mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-17 21:20:46 +01:00
Made BaseJsonHandler strongly typed. Moved DTO entities to their own DTO namespace in Model.
This commit is contained in:
parent
8a2e0badae
commit
5c094afd7e
@@ -1,12 +1,13 @@
|
||||
using System;
|
||||
using MediaBrowser.Common.Net.Handlers;
|
||||
using MediaBrowser.Controller;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
|
||||
namespace MediaBrowser.Api.HttpHandlers
|
||||
{
|
||||
public class UserConfigurationHandler : BaseJsonHandler
|
||||
public class UserConfigurationHandler : BaseJsonHandler<UserConfiguration>
|
||||
{
|
||||
protected override object GetObjectToSerialize()
|
||||
protected override UserConfiguration GetObjectToSerialize()
|
||||
{
|
||||
Guid userId = Guid.Parse(QueryString["userid"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user