mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Quality type sizes moved to backbone + SS (API)
This commit is contained in:
parent
5ba1c0eceb
commit
c8621b8100
24 changed files with 244 additions and 356 deletions
|
@ -6,8 +6,10 @@ using System.Web;
|
|||
using Funq;
|
||||
using Ninject;
|
||||
using NzbDrone.Api.QualityProfiles;
|
||||
using NzbDrone.Api.QualityType;
|
||||
using ServiceStack.ContainerAdapter.Ninject;
|
||||
using ServiceStack.WebHost.Endpoints;
|
||||
using QualityProfileService = NzbDrone.Api.QualityProfiles.QualityProfileService;
|
||||
|
||||
namespace NzbDrone.Api
|
||||
{
|
||||
|
@ -28,7 +30,9 @@ namespace NzbDrone.Api
|
|||
|
||||
Routes
|
||||
.Add<QualityProfileModel>("/qualityprofiles")
|
||||
.Add<QualityProfileModel>("/qualityprofiles/{Id}");
|
||||
.Add<QualityProfileModel>("/qualityprofiles/{Id}")
|
||||
.Add<QualityTypeModel>("/qualitytypes")
|
||||
.Add<QualityTypeModel>("/qualitytypes/{Id}");
|
||||
|
||||
Bootstrapper.Initialize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue