Exemplo n.º 1
0
        public async Task <IViewComponentResult> InvokeAsync()
        {
            var model = IdeaBannerViewModel.MapFrom(await _ideaService.GetTopIdeasAsync(3));

            return(View(model));
        }