1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-02 13:53:23 +01:00
bitwarden-server/src/Core/Services/ICollectionService.cs

14 lines
351 B
C#
Raw Normal View History

2017-04-03 18:27:02 +02:00
using System.Threading.Tasks;
using Bit.Core.Models.Table;
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);
Task DeleteAsync(Collection collection);
2017-04-03 18:27:02 +02:00
}
}