I want to call a controller method which returns a string value from view, for example suppose I have a controller method public string Username(string email). I want to call this method in view so that I can assign return Value i.e. User name to my label.
So I have two question :-
- How to call this parameterized controller function in view "public string Username(string email)".
- And get its return value.