2017-12-19 16:02:39 -05:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2022-01-11 10:40:51 +01:00
|
|
|
|
using Bit.Core.Entities;
|
|
|
|
|
|
using Bit.Core.Entities.Provider;
|
2017-12-19 16:02:39 -05:00
|
|
|
|
using Bit.Core.Models.Data;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Services
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IApplicationCacheService
|
|
|
|
|
|
{
|
|
|
|
|
|
Task<IDictionary<Guid, OrganizationAbility>> GetOrganizationAbilitiesAsync();
|
2021-06-30 09:35:26 +02:00
|
|
|
|
Task<IDictionary<Guid, ProviderAbility>> GetProviderAbilitiesAsync();
|
2017-12-19 16:02:39 -05:00
|
|
|
|
Task UpsertOrganizationAbilityAsync(Organization organization);
|
2021-07-08 17:05:32 +02:00
|
|
|
|
Task UpsertProviderAbilityAsync(Provider provider);
|
2017-12-19 16:02:39 -05:00
|
|
|
|
Task DeleteOrganizationAbilityAsync(Guid organizationId);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|