using System; using System.Threading.Tasks; using Bit.Core.Models.Table; using System.Collections.Generic; using Bit.Core.Models.Data; 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 groups); Task ReplaceAsync(Collection obj, IEnumerable groups); } }