mirror of
https://github.com/bitwarden/server
synced 2025-12-30 15:14:02 +00:00
[Soft-Delete] Simplify the data-tier, removed extra sprocs and reuse update
This commit is contained in:
@@ -32,9 +32,7 @@ namespace Bit.Core.Repositories
|
||||
Task CreateAsync(IEnumerable<Cipher> ciphers, IEnumerable<Folder> folders);
|
||||
Task CreateAsync(IEnumerable<Cipher> ciphers, IEnumerable<Collection> collections,
|
||||
IEnumerable<CollectionCipher> collectionCiphers);
|
||||
Task SoftDeleteAsync(Cipher obj);
|
||||
Task SoftDeleteAsync(IEnumerable<Guid> ids, Guid userId);
|
||||
Task RestoreAsync(Cipher obj);
|
||||
Task RestoreAsync(IEnumerable<Guid> ids, Guid userId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user