using System.Threading.Tasks; using Abp.Runtime.Caching; namespace Abp.Domain.Entities.Caching { public interface IEntityCache : IEntityCache { } public interface IEntityCache { TCacheItem this[TPrimaryKey id] { get; } string CacheName { get; } ITypedCache InternalCache { get; } TCacheItem Get(TPrimaryKey id); Task GetAsync(TPrimaryKey id); } }