mirror of
https://github.com/chyzy/RSystem-MVC
synced 2024-11-26 16:15:29 +01:00
19 lines
387 B
C#
19 lines
387 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
|
|
namespace RSystem.Controllers
|
|
{
|
|
[AllowAnonymous]
|
|
public class ErrorController : Controller
|
|
{
|
|
// GET: Error
|
|
public ActionResult Index(int? id)
|
|
{
|
|
ViewBag.ErrorCode = id==null? 404 : id;
|
|
return View();
|
|
}
|
|
}
|
|
} |