public IMember GetByUsername(string username) => _memberByUsernameCachePolicy.Get(username, PerformGetByUsername, PerformGetAllByUsername);
public IMacro GetByAlias(string alias) { return(_macroByAliasCachePolicy.Get(alias, PerformGetByAlias, PerformGetAllByAlias)); }
public TEntity Get(TId id, Func <TId, TEntity> performGet, Func <TId[], IEnumerable <TEntity> > performGetAll) { // loads into the local cache only, ok for now return(_cachePolicy.Get(id, performGet, performGetAll)); }
public IMember GetByUsername(string username) { return(_memberByUsernameCachePolicy.Get(username, PerformGetByUsername, PerformGetAllByUsername)); }
public IMacro?GetByAlias(string alias) => _macroByAliasCachePolicy.Get(alias, PerformGetByAlias, PerformGetAllByAlias);