1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-16 15:53:13 -05:00
bitwarden/src/Core/Repositories/IOrganizationConnectionRepository.cs
2022-08-29 16:06:55 -04:00

11 lines
451 B
C#

using Bit.Core.Entities;
using Bit.Core.Enums;
namespace Bit.Core.Repositories;
public interface IOrganizationConnectionRepository : IRepository<OrganizationConnection, Guid>
{
Task<ICollection<OrganizationConnection>> GetByOrganizationIdTypeAsync(Guid organizationId, OrganizationConnectionType type);
Task<ICollection<OrganizationConnection>> GetEnabledByOrganizationIdTypeAsync(Guid organizationId, OrganizationConnectionType type);
}