contrôleur d'appel mvc
-
05-07-2019 - |
Question
J'ai un contrôleur de base, est-il possible de savoir comment s'appelait le contrôleur appelant?
La solution
this.GetType ()
où this
est l'instance du contrôleur.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow