mirror of
https://github.com/bitwarden/server.git
synced 2025-04-28 00:02:26 -05:00
14 lines
376 B
C#
14 lines
376 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.Core.Models.Table;
|
|
|
|
namespace Bit.Core.Repositories
|
|
{
|
|
public interface IOrganizationRepository : IRepository<Organization, Guid>
|
|
{
|
|
Task<Organization> GetByIdAsync(Guid id, Guid userId);
|
|
Task<ICollection<Organization>> GetManyByUserIdAsync(Guid userId);
|
|
}
|
|
}
|