2017-03-02 00:15:05 -05:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2017-03-08 21:45:08 -05:00
|
|
|
|
using Bit.Core.Models.Table;
|
2017-03-02 00:15:05 -05:00
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Repositories
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IOrganizationRepository : IRepository<Organization, Guid>
|
|
|
|
|
|
{
|
2017-08-22 15:27:29 -04:00
|
|
|
|
Task<ICollection<Organization>> GetManyByEnabledAsync();
|
2017-03-02 00:15:05 -05:00
|
|
|
|
Task<ICollection<Organization>> GetManyByUserIdAsync(Guid userId);
|
2017-07-10 22:08:52 -04:00
|
|
|
|
Task UpdateStorageAsync(Guid id);
|
2017-03-02 00:15:05 -05:00
|
|
|
|
}
|
|
|
|
|
|
}
|