JonPSmith / AuthPermissions.AspNetCore

This library provides extra authorization and multi-tenant features to an ASP.NET Core application.

Home Page:https://www.thereformedprogrammer.net/finally-a-library-that-improves-role-authorization-in-asp-net-core/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Soft Delete

bahaAbualkibash opened this issue · comments

Hi there,

I'm currently using this library and looking to implement a soft delete functionality instead of hard delete tenants/users/etc..., and I'm unsure about the best approach to achieve this within the library.

Could you provide guidance or best practices on how to implement soft delete functionality? Any code snippets, recommended practices, or pointers to relevant resources would be immensely helpful.

Thank you in advance for your assistance :)

Hi @bahaAbualkibash,

I actually built a library called EfCore.SoftDeleteServices which handles soft-delete and a multi-tenant key. The wiki holds documentation, plus links on the right to two articles and a EF Core standup where talked about soft delete with tenants (about 35 mins in).

Enjoy.