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 } }