2012-11-09 16:28:59 +00:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
2013-01-02 02:06:55 +00:00
|
|
|
|
}
|