Reputation: 6794
I have a base controller, is it possible to know what the calling controller was called?
Upvotes: 0
Views: 166
Reputation: 1039428
this.GetType() where this is the controller instance.
this.GetType()
this
Upvotes: 4