Files
PaySharp/sample/PaySharp.Demo/Controllers/HomeController.cs
T
2018-04-19 21:53:11 +08:00

20 lines
442 B
C#

using PaySharp.Demo.Models;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
namespace PaySharp.Demo.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
}
}