mirror of
https://github.com/bitwarden/server.git
synced 2025-04-07 05:58:13 -05:00
16 lines
591 B
C#
16 lines
591 B
C#
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 ICollectionUserRepository : IRepository<CollectionUser, Guid>
|
|
{
|
|
Task<ICollection<CollectionUser>> GetManyByOrganizationUserIdAsync(Guid orgUserId);
|
|
Task<ICollection<CollectionUserCollectionDetails>> GetManyDetailsByUserIdAsync(Guid userId);
|
|
Task<ICollection<CollectionUserUserDetails>> GetManyDetailsByCollectionIdAsync(Guid organizationId, Guid collectionId);
|
|
}
|
|
}
|