webtestpractice/MyWebApp/Pages/Gumby.cshtml.cs
2023-01-19 15:22:06 +00:00

21 lines
347 B
C#

using Microsoft.AspNetCore.Mvc.RazorPages;
namespace MyWebApp.Pages;
public class GumbyModel : PageModel
{
public void OnGet()
{
}
public void OnPostPress()
{
ViewData["Message"] = "Yay! You Pressed The Button!";
}
public void OnPostClear()
{
ViewData["Message"] = null;
}
}