mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Rename ES2015Transpilation sample to NodeServicesExamples (because will be adding some more examples here)
This commit is contained in:
18
samples/misc/NodeServicesExamples/Controllers/HomeController.cs
Executable file
18
samples/misc/NodeServicesExamples/Controllers/HomeController.cs
Executable file
@@ -0,0 +1,18 @@
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace NodeServicesExamples.Controllers
|
||||
{
|
||||
public class HomeController : Controller
|
||||
{
|
||||
public IActionResult Index(int pageIndex)
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public IActionResult Error()
|
||||
{
|
||||
return View("~/Views/Shared/Error.cshtml");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user