Example #1
0
        public async Task <IViewComponentResult> InvokeAsync(int productId)
        {
            var result = await _request.GetByProductAsync(productId);

            return(View((result, productId)));
        }