mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00

Long lived feature branch for Secrets Manager Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com> Co-authored-by: cd-bitwarden <106776772+cd-bitwarden@users.noreply.github.com> Co-authored-by: CarleyDiaz-Bitwarden <103955722+CarleyDiaz-Bitwarden@users.noreply.github.com> Co-authored-by: Thomas Avery <tavery@bitwarden.com> Co-authored-by: Colton Hurst <colton@coltonhurst.com>
14 lines
448 B
C#
14 lines
448 B
C#
using Bit.Core.Entities;
|
|
|
|
namespace Bit.Core.Repositories;
|
|
|
|
public interface IProjectRepository
|
|
{
|
|
Task<IEnumerable<Project>> GetManyByOrganizationIdAsync(Guid organizationId, Guid userId);
|
|
Task<IEnumerable<Project>> GetManyByIds(IEnumerable<Guid> ids);
|
|
Task<Project> GetByIdAsync(Guid id);
|
|
Task<Project> CreateAsync(Project project);
|
|
Task ReplaceAsync(Project project);
|
|
Task DeleteManyByIdAsync(IEnumerable<Guid> ids);
|
|
}
|