mirror of
https://github.com/bitwarden/server.git
synced 2026-02-01 22:53:12 +08:00
15 lines
551 B
C#
15 lines
551 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
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);
|
|||
|
|
}
|
|||
|
|
}
|