public async Task <IViewComponentResult> InvokeAsync(vm.ContentBlockView info) { info = info ?? new vm.ContentBlockView(); info.Item = await ContentBlock.FindByKey(info.Key); return(View(info)); }