2017-03-08 05:06:14 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Threading.Tasks;
|
2017-03-09 03:45:08 +01:00
|
|
|
|
using Bit.Core.Models.Table;
|
2017-03-08 05:06:14 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Repositories
|
|
|
|
|
{
|
2017-04-27 15:19:30 +02:00
|
|
|
|
public interface ICollectionRepository : IRepository<Collection, Guid>
|
2017-03-08 05:06:14 +01:00
|
|
|
|
{
|
2017-04-07 22:41:04 +02:00
|
|
|
|
Task<int> GetCountByOrganizationIdAsync(Guid organizationId);
|
2017-04-27 15:19:30 +02:00
|
|
|
|
Task<ICollection<Collection>> GetManyByOrganizationIdAsync(Guid organizationId);
|
|
|
|
|
Task<ICollection<Collection>> GetManyByUserIdAsync(Guid userId);
|
2017-03-08 05:06:14 +01:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|