Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Query Filters for List Actions to allow admin role to view/recover deleted records #23

Open
mmahomar opened this issue Jun 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mmahomar
Copy link
Collaborator

Feature implementation that would allow admin roles to view soft-deleted records and recover if deleted by mistake
https://docs.microsoft.com/en-us/ef/core/querying/filters#disabling-filters

var applicationDbContext = _context.Organizations
.Include(o => o.Locations).ThenInclude(o => o.ParentLocations)
.Include(o => o.OrganizationTypes)
.Include(o => o.ParentOrganization)
.Where(o => o.ParentOrganizationId == id);

@mmahomar mmahomar added the enhancement New feature or request label Jun 11, 2022
@mmahomar mmahomar self-assigned this Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant