mirror of
https://github.com/bitwarden/server.git
synced 2024-12-02 13:53:23 +01:00
16 lines
467 B
C#
16 lines
467 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Bit.Core.Models.Table;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Bit.Core.Repositories
|
|
{
|
|
public interface ICollectionRepository : IRepository<Collection, Guid>
|
|
{
|
|
Task<int> GetCountByOrganizationIdAsync(Guid organizationId);
|
|
Task<ICollection<Collection>> GetManyByOrganizationIdAsync(Guid organizationId);
|
|
Task<ICollection<Collection>> GetManyByUserIdAsync(Guid userId);
|
|
|
|
}
|
|
}
|