mirror of
https://github.com/bitwarden/server.git
synced 2024-12-12 15:26:48 +01:00
16 lines
478 B
C#
16 lines
478 B
C#
|
using System;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using Bit.Core.Domains;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace Bit.Core.Repositories
|
|||
|
{
|
|||
|
public interface ISubvaultRepository : IRepository<Subvault, Guid>
|
|||
|
{
|
|||
|
Task<Subvault> GetByIdAdminUserIdAsync(Guid id, Guid userId);
|
|||
|
Task<ICollection<Subvault>> GetManyByOrganizationIdAdminUserIdAsync(Guid organizationId, Guid userId);
|
|||
|
Task<ICollection<Subvault>> GetManyByUserIdAsync(Guid userId);
|
|||
|
|
|||
|
}
|
|||
|
}
|