2013-11-13 23:08:37 +03: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 21:46:21 +02:00
|
|
|
public RootFolderRepository(IMainDatabase database, IEventAggregator eventAggregator)
|
2013-11-13 23:08:37 +03:00
|
|
|
: base(database, eventAggregator)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override bool PublishModelEvents
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|