using System; using System.Threading.Tasks; using Bit.Core.Models.Table; using System.Collections.Generic; namespace Bit.Core.Repositories { public interface ICollectionRepository : IRepository { Task GetCountByOrganizationIdAsync(Guid organizationId); Task>> GetByIdWithGroupsAsync(Guid id); Task> GetManyByOrganizationIdAsync(Guid organizationId); Task> GetManyByUserIdAsync(Guid userId); Task CreateAsync(Collection obj, IEnumerable groupIds); Task ReplaceAsync(Collection obj, IEnumerable groupIds); } }