public async Task <bool> DeleteUserRemainingIndices(string userId) { if (string.IsNullOrWhiteSpace(userId)) { return(false); } // UserPermissions await _permissionsService.DeleteUserPermissionsDocAsync(userId); // PermissionUsers await _permissionsService.UpdatePermissionUsersDocAsync(userId); return(true); }