mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Bootstrap loading profiles via ajax
This commit is contained in:
parent
44c7a58595
commit
0ecbb30345
18 changed files with 92 additions and 122 deletions
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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue