Files
2018-05-17 20:20:10 +08:00

28 lines
514 B
C#

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