mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-23 02:05:27 +02:00
27 lines
605 B
C#
27 lines
605 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(IDatabase database, IEventAggregator eventAggregator)
|
|
: base(database, eventAggregator)
|
|
{
|
|
}
|
|
|
|
protected override bool PublishModelEvents
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
} |