Skip to content

Instantly share code, notes, and snippets.

@YhorbyMatias
Created January 27, 2018 00:57
Show Gist options
  • Save YhorbyMatias/d7fc6086f0a2123cd8aa00dd664ff5c9 to your computer and use it in GitHub Desktop.
Save YhorbyMatias/d7fc6086f0a2123cd8aa00dd664ff5c9 to your computer and use it in GitHub Desktop.
Codigo del controlador
// Get: /HelloWorld/Welcome/
public IActionResult Welcome(string name, int numTimes = 1)
{
ViewData["Message"] = "Hola " + name;
ViewData["NumTimes"] = numTimes;
return View();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment