mirror of
https://github.com/bitwarden/server.git
synced 2024-12-02 13:53:23 +01:00
16 lines
443 B
C#
16 lines
443 B
C#
using System.Threading.Tasks;
|
|
using Bit.Core.Models.Table;
|
|
using System.Collections.Generic;
|
|
using Bit.Core.Models.Data;
|
|
using System;
|
|
|
|
namespace Bit.Core.Services
|
|
{
|
|
public interface ICollectionService
|
|
{
|
|
Task SaveAsync(Collection collection, IEnumerable<SelectionReadOnly> groups = null);
|
|
Task DeleteAsync(Collection collection);
|
|
Task DeleteUserAsync(Collection collection, Guid organizationUserId);
|
|
}
|
|
}
|