2017-04-03 18:27:02 +02:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Bit.Core.Models.Table;
|
2017-05-09 18:41:36 +02:00
|
|
|
|
using System.Collections.Generic;
|
2017-05-11 18:22:14 +02:00
|
|
|
|
using Bit.Core.Models.Data;
|
2017-04-03 18:27:02 +02:00
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Services
|
|
|
|
|
{
|
2017-04-27 15:19:30 +02:00
|
|
|
|
public interface ICollectionService
|
2017-04-03 18:27:02 +02:00
|
|
|
|
{
|
2017-05-11 18:22:14 +02:00
|
|
|
|
Task SaveAsync(Collection collection, IEnumerable<SelectionReadOnly> groups = null);
|
2017-12-01 22:00:30 +01:00
|
|
|
|
Task DeleteAsync(Collection collection);
|
2017-04-03 18:27:02 +02:00
|
|
|
|
}
|
|
|
|
|
}
|