using System.Threading.Tasks; using WX.CRM.Model.EntitySync; using WX.CRM.Model.Redis; namespace WX.CRM.IBLL.Redis { public interface IRedisHashHelper { T Get(string key) where T : class, new(); T Get(string key, RedisConfig config) where T : class, new(); Task GetAsync(string key) where T : class, new(); Task GetAsync(string key, RedisConfig config) where T : class, new(); bool AddToCache(REDIS_CACHE_SSODATASYNC info); bool UpdateCache(REDIS_CACHE_SSODATASYNC info); bool DeleteCache(REDIS_CACHE_SSODATASYNC info); } }