public Task <AsyncTaskResult> HandleAsync(NotificationDeletedEvent evnt) { return(TryTransactionAsync(async(connection, transaction) => { var effectedRows = await connection.DeleteAsync(new { Id = evnt.AggregateRootId, //Version = evnt.Version - 1 }, ConfigSettings.NotificationTable, transaction); })); }
private void Handle(NotificationDeletedEvent evnt) { _info = null; }