|
|
@ -10,7 +10,6 @@ namespace NzbDrone.Api.Qualities
|
|
|
|
private readonly IQualityProfileService _qualityProfileService;
|
|
|
|
private readonly IQualityProfileService _qualityProfileService;
|
|
|
|
|
|
|
|
|
|
|
|
public QualityProfileModule(IQualityProfileService qualityProfileService)
|
|
|
|
public QualityProfileModule(IQualityProfileService qualityProfileService)
|
|
|
|
: base("/qualityprofiles")
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_qualityProfileService = qualityProfileService;
|
|
|
|
_qualityProfileService = qualityProfileService;
|
|
|
|
SharedValidator.RuleFor(c => c.Name).NotEmpty();
|
|
|
|
SharedValidator.RuleFor(c => c.Name).NotEmpty();
|
|
|
|