23 lines
593 B
C#
23 lines
593 B
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using Microsoft.AspNet.Mvc;
|
|
|
|
namespace ErrorPageMiddlewareWebSite
|
|
{
|
|
public class ErrorPageMiddlewareController : Controller
|
|
{
|
|
[HttpGet("/CompilationFailure")]
|
|
public IActionResult CompilationFailure()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[HttpGet("/ParserError")]
|
|
public IActionResult ParserError()
|
|
{
|
|
return View();
|
|
}
|
|
}
|
|
}
|