User696604810 posted
PROBLEM
can I use string function inside controller and replace action or not on asp.net core 2.1 ?
on asp.net core 2.1 when link to any web application i use default route
controller/action
can i use function return string as function ShowText() after controller
meaning employee/ShowText or must use Action Result ?
and when route to link employee/ShowText
are this route will work ?
What I have tried:
employeecontroller
public string ShowText()
{
string show = "welcom ";
return show ;
}