Files
server/src/Core/Services/ICollectionService.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
466 B
C#
Raw Normal View History

2017-04-03 12:27:02 -04:00
using System;
using System.Collections.Generic;
2017-04-03 12:27:02 -04:00
using System.Threading.Tasks;
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
{
Task SaveAsync(Collection collection, IEnumerable<SelectionReadOnly> groups = null, Guid? assignUserId = null);
Task DeleteAsync(Collection collection);
Task DeleteUserAsync(Collection collection, Guid organizationUserId);
2017-04-03 12:27:02 -04:00
}
}