mirror of
https://github.com/bitwarden/server
synced 2025-12-17 00:33:23 +00:00
Org API controller and supporting data access
This commit is contained in:
13
src/Core/Repositories/IOrganizationRepository.cs
Normal file
13
src/Core/Repositories/IOrganizationRepository.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user