mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
Bootstrap loading profiles via ajax
This commit is contained in:
17
NzbDrone.Api/Resolvers/QualityTypesToIntResolver.cs
Normal file
17
NzbDrone.Api/Resolvers/QualityTypesToIntResolver.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using AutoMapper;
|
||||
using NzbDrone.Core.Repository.Quality;
|
||||
|
||||
namespace NzbDrone.Api.Resolvers
|
||||
{
|
||||
public class QualityTypesToIntResolver : ValueResolver<QualityTypes, Int32>
|
||||
{
|
||||
protected override int ResolveCore(QualityTypes source)
|
||||
{
|
||||
return source.Id;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user