In this article, you will learn how to pass strongly typed data from Controller to View using session, in which firstly, you should make a model class then populate its properties with some data then pass that object to the session as Value and pass magic Key as a string.
source https://www.c-sharpcorner.com/article/passing-data-from-controller-to-view-using-session-part-five/
No comments:
Post a Comment