mirror of
https://github.com/bitwarden/server.git
synced 2026-02-06 17:13:10 +08:00
14 lines
371 B
C#
14 lines
371 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using Bit.Core.Domains;
|
|||
|
|
|
|||
|
|
namespace Bit.Core.Repositories
|
|||
|
|
{
|
|||
|
|
public interface IOrganizationRepository : IRepository<Organization, Guid>
|
|||
|
|
{
|
|||
|
|
Task<Organization> GetByIdAsync(Guid id, Guid userId);
|
|||
|
|
Task<ICollection<Organization>> GetManyByUserIdAsync(Guid userId);
|
|||
|
|
}
|
|||
|
|
}
|