/// <returns>A task that represents the asynchronous operation</returns> public async Task <IViewComponentResult> InvokeAsync() { var attributes = await _shoppingCartModelFactory.FormatSelectedCheckoutAttributesAsync(); return(View(null, attributes)); }