2013-11-13 20:08:37 +00:00
|
|
|
|
using NzbDrone.Core.Datastore;
|
|
|
|
|
using NzbDrone.Core.Messaging.Events;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.RootFolders
|
|
|
|
|
{
|
|
|
|
|
public interface IRootFolderRepository : IBasicRepository<RootFolder>
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class RootFolderRepository : BasicRepository<RootFolder>, IRootFolderRepository
|
|
|
|
|
{
|
|
|
|
|
|
2015-05-03 19:46:21 +00:00
|
|
|
|
public RootFolderRepository(IMainDatabase database, IEventAggregator eventAggregator)
|
2013-11-13 20:08:37 +00:00
|
|
|
|
: base(database, eventAggregator)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-09 06:54:15 +00:00
|
|
|
|
protected override bool PublishModelEvents => true;
|
2013-11-13 20:08:37 +00:00
|
|
|
|
}
|
|
|
|
|
}
|