1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-12 15:26:48 +01:00
bitwarden-server/src/Core/Repositories/ISubvaultRepository.cs

16 lines
478 B
C#
Raw Normal View History

2017-03-08 05:06:14 +01:00
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);
}
}