mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
27 lines
609 B
C#
27 lines
609 B
C#
using NzbDrone.Core.Datastore;
|
|
using NzbDrone.Core.Messaging.Events;
|
|
|
|
namespace NzbDrone.Core.RootFolders
|
|
{
|
|
public interface IRootFolderRepository : IBasicRepository<RootFolder>
|
|
{
|
|
|
|
}
|
|
|
|
public class RootFolderRepository : BasicRepository<RootFolder>, IRootFolderRepository
|
|
{
|
|
|
|
public RootFolderRepository(IMainDatabase database, IEventAggregator eventAggregator)
|
|
: base(database, eventAggregator)
|
|
{
|
|
}
|
|
|
|
protected override bool PublishModelEvents
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
} |