mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07: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:
parent
a977443676
commit
ec8c83760b
8 changed files with 109 additions and 52 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue