1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-11-06 09:19:38 +02:00

Adding/Deleting QualityProfiles will now save/delete the profile from the database to make the process less hacky.

RootDir and UserProfileSection do not inherit the master layout automatically.
This commit is contained in:
Mark McDowall
2011-04-21 17:30:19 -07:00
parent a977443676
commit ec8c83760b
8 changed files with 109 additions and 52 deletions

View File

@@ -21,9 +21,9 @@ namespace NzbDrone.Core.Providers
_sonicRepo = sonicRepo;
}
public virtual void Add(QualityProfile profile)
public virtual int Add(QualityProfile profile)
{
_sonicRepo.Add(profile);
return Convert.ToInt32(_sonicRepo.Add(profile));
}
public virtual void Update(QualityProfile profile)