using static Crm.Core.External.Domain.Config.SystemEnums; namespace Crm.Core.External.Domain.Impl { public interface ICacheDomain : ITransientDependency { Task GetValueParameter(string key); Task GetValueParameter(ParameterEnums key); Task GetParameter(string key) where T : new(); Task GetParameter(ParameterEnums key) where T : new(); Task SetApp(IOracleRepository repository, decimal deptmentId); Task SetApp(IOracleRepository repository, string? appid); Task> GetDeptments(); Task> GetSubComTypeListByComType(string? appid, ComType type); Task> GetSubComTypeList(string? appid); string GetAppByDeptid(decimal deptmentId); string GetApp(); Task GetCodeByDeptid(decimal? deptid); Task GetCodeByAppid(string? appid); Task LevelSSO(decimal eid); Task> GetSalesDeptsForEid(decimal eid); } }