Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

View Component with its own biz logic?

$
0
0

Hi guys, in the past we have used partial views to render sales data into its parent view. The partial was passed the id of the user and then it went off and got some data to render. With Asp Core View Components this doesn't seem to be an option, as I understand it the VC can only work with the params passed to it and nothing more, is this the case?

Is there a better option for achieving this other than a View Component?

Thanks :)


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>