Skip to content

Commit

Permalink
Add simple implementation of OnPreDeleteAsync()
Browse files Browse the repository at this point in the history
  • Loading branch information
mesbahamin committed Jan 10, 2018
1 parent 76bd577 commit 35a1d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rhino.Security/DeleteEntityEventListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class DeleteEntityEventListener : IPreDeleteEventListener
/// <inheritdoc />
public Task<bool> OnPreDeleteAsync(PreDeleteEvent @event, CancellationToken cancellationToken)
{
throw new NotImplementedException();
return Task.Run(() => OnPreDelete(@event), cancellationToken);
}

/// <summary>
Expand Down

0 comments on commit 35a1d50

Please sign in to comment.