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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|