Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Search in Soft-Delete Users #4811


User avatar
0
rvanwoezik created

Is it possible to search in soft-deleted users only?


2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Yes. See the documentation on Data Filters.

    using (_unitOfWorkManager.Current.DisableFilter(AbpDataFilters.SoftDelete))
    {
        var softDeletedUsers = _userRepository.GetAll().Where(u => u.IsDeleted);
    
        // ...
    }
    
  • User Avatar
    0
    rvanwoezik created

    Thnx! A RTFM situation!