mirror of
https://github.com/bitwarden/server.git
synced 2025-01-06 19:28:08 +01:00
17 lines
570 B
C#
17 lines
570 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Bit.Core.Models.Table;
|
|
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>> GetManyByOrganizationIdAsync(Guid organizationId);
|
|
Task<ICollection<Subvault>> GetManyByUserIdAsync(Guid userId);
|
|
|
|
}
|
|
}
|