2017-04-03 12:27:02 -04:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Bit.Core.Models.Table;
|
2017-05-09 12:41:36 -04:00
|
|
|
|
using System.Collections.Generic;
|
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
|
|
|
|
{
|
2017-05-11 12:22:14 -04:00
|
|
|
|
Task SaveAsync(Collection collection, IEnumerable<SelectionReadOnly> groups = null);
|
2017-12-01 16:00:30 -05:00
|
|
|
|
Task DeleteAsync(Collection collection);
|
2017-04-03 12:27:02 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|