1
0
mirror of https://github.com/bitwarden/server synced 2026-01-04 09:33:40 +00:00

add api support for updating org identifier (#861)

* add api support for updating org identifier

* add identifier to response as well

* implement in EF repo
This commit is contained in:
Kyle Spearrin
2020-08-12 16:38:22 -04:00
committed by GitHub
parent c8220fdfa6
commit 056b4b9bf4
8 changed files with 72 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ namespace Bit.Core.Repositories
{
public interface IOrganizationRepository : IRepository<Organization, Guid>
{
Task<Organization> GetByIdentifierAsync(string identifier);
Task<ICollection<Organization>> GetManyByEnabledAsync();
Task<ICollection<Organization>> GetManyByUserIdAsync(Guid userId);
Task<ICollection<Organization>> SearchAsync(string name, string userEmail, bool? paid, int skip, int take);