aspnetcore/test/WebSites/AntiForgeryWebSite/Controllers/HomeController.cs

16 lines
459 B
C#

// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Mvc;
namespace AntiForgeryWebSite
{
// This controller is reachable via traditional routing.
public class HomeController : Controller
{
public IActionResult Index()
{
return View("MyView");
}
}
}