Skip to content

Commit

Permalink
Merge pull request hibernating-rhinos#2 from mesbahamin/master
Browse files Browse the repository at this point in the history
Add simple implementation of OnPreDeleteAsync()
  • Loading branch information
codekaizen authored Jan 10, 2018
2 parents c52ddaa + 35a1d50 commit 704d8ca
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 704d8ca

Please sign in to comment.