using System.Collections.Generic; using System.Threading.Tasks; using Bit.Core.Enums; using Bit.Core.Models.Data; using Bit.Core.Models.Domain; namespace Bit.Core.Abstractions { public interface IPolicyService { void ClearCache(); Task> GetAll(PolicyType? type); Task Replace(Dictionary policies); Task Clear(string userId); } }