public override Task InitializeAsync() { _cache = new Cache.DistributedCache((IDistributedCache)_services.GetService(typeof(IDistributedCache))); return(base.InitializeAsync()); }
public override async Task InitializeAsync() { _cache = new Cache.DistributedCache((IDistributedCache)_services.GetService(typeof(IDistributedCache))); await base.InitializeAsync(); }