mirror of
https://github.com/bitwarden/server
synced 2025-12-27 13:43:18 +00:00
16 lines
450 B
C#
16 lines
450 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.Core.Domains;
|
|
|
|
namespace Bit.Core.Services
|
|
{
|
|
public interface ICipherService
|
|
{
|
|
Task SaveAsync(Cipher cipher);
|
|
Task DeleteAsync(Cipher cipher);
|
|
Task ImportCiphersAsync(List<Cipher> folders, List<Cipher> ciphers,
|
|
IEnumerable<KeyValuePair<int, int>> folderRelationships);
|
|
Task ShareAsync(Share share, string email);
|
|
}
|
|
}
|