Reorganize templates into dir structure matching 'dotnet new' templates

This commit is contained in:
Steve Sanderson
2017-08-23 14:58:49 -07:00
parent 7c52be5e42
commit 0291686b20
220 changed files with 16 additions and 30 deletions

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace WebApplicationBasic.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
public IActionResult Error()
{
ViewData["RequestId"] = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
return View();
}
}
}