2017-04-03 12:27:02 -04:00
|
|
|
|
using System;
|
2017-05-09 12:41:36 -04:00
|
|
|
|
using System.Collections.Generic;
|
2017-04-03 12:27:02 -04:00
|
|
|
|
using System.Threading.Tasks;
|
2022-01-11 10:40:51 +01:00
|
|
|
|
using Bit.Core.Entities;
|
2017-05-11 12:22:14 -04:00
|
|
|
|
using Bit.Core.Models.Data;
|
2017-04-03 12:27:02 -04:00
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Services
|
|
|
|
|
|
{
|
2017-04-27 09:19:30 -04:00
|
|
|
|
public interface ICollectionService
|
2017-04-03 12:27:02 -04:00
|
|
|
|
{
|
2018-10-17 14:58:45 -04:00
|
|
|
|
Task SaveAsync(Collection collection, IEnumerable<SelectionReadOnly> groups = null, Guid? assignUserId = null);
|
2017-12-01 16:00:30 -05:00
|
|
|
|
Task DeleteAsync(Collection collection);
|
2018-07-09 23:07:04 -04:00
|
|
|
|
Task DeleteUserAsync(Collection collection, Guid organizationUserId);
|
2017-04-03 12:27:02 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|