You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
619 B
16 lines
619 B
using Connected.Notifications;
|
|
using Connected.ServiceModel;
|
|
using Connected.Services;
|
|
|
|
namespace Common.Documents;
|
|
public abstract class DocumentService<TDocumentPrimaryKey, TItemPrimaryKey> : EntityService<TDocumentPrimaryKey>, IDocumentService<TDocumentPrimaryKey, TItemPrimaryKey>
|
|
{
|
|
protected DocumentService(IContext context) : base(context)
|
|
{
|
|
}
|
|
|
|
public event ServiceEventHandler<PrimaryKeyEventArgs<TItemPrimaryKey>>? ItemInserted;
|
|
public event ServiceEventHandler<PrimaryKeyEventArgs<TItemPrimaryKey>>? ItemUpdated;
|
|
public event ServiceEventHandler<PrimaryKeyEventArgs<TItemPrimaryKey>>? ItemDeleted;
|
|
}
|