public IActionResult SetName(string name)
 {
     greet.SetName(name);
     return(Redirect("greet"));
 }
Esempio n. 2
0
 public IActionResult GetName(string name)
 {
     greeting.SetName(name);
     return(RedirectToAction("greet"));
 }