using System.Collections.Generic; using System.Threading.Tasks; using YiSha.Business.Cache.IBusiness; using YiSha.Business.Cache.IService; using YiSha.Cache.Factory; using YiSha.Entity.SystemManage; using YiSha.Service.SystemManage; namespace YiSha.Business.Cache.Business { public class AreaCacheBusiness : IAreaCacheBusiness { private IAreaCacheService _areaCacheService; public AreaCacheBusiness(IAreaCacheService areaCacheService) { _areaCacheService = areaCacheService; } public string CacheKey => this.GetType().Name; public async Task> GetList() { return await _areaCacheService.GetList(); } public bool Remove() { return _areaCacheService.Remove(); } } }