public async Task <Creator> Get() { var cache = _cache["creator"]; if (cache == null) { var creator = await _instance.Get(); _cache["creator"] = creator; return(creator); } else { return(cache); } }
public Task <Creator> Get() { return(_repository.Get()); }