mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
17 lines
371 B
C#
17 lines
371 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using AutoMapper;
|
|
using NzbDrone.Core.Qualities;
|
|
|
|
namespace NzbDrone.Api.Resolvers
|
|
{
|
|
public class QualityTypesToIntResolver : ValueResolver<Quality, Int32>
|
|
{
|
|
protected override int ResolveCore(Quality source)
|
|
{
|
|
return source.Id;
|
|
}
|
|
}
|
|
} |