mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05: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);
|
|
|
|
}
|
|
}
|