mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 05:28:15 -05: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);
|
|
|
|
}
|
|
}
|