SimpleREST.NET
0.1
A simple and minimal api framework for .net base on Express.js
Loading...
Searching...
No Matches
ResourceNotFoundView.cs
Go to the documentation of this file.
1
using
SimpleRest.Api
;
2
3
namespace
SimpleRest.Views
;
4
public
class
ResourceNotFoundView
:
ISimpleRestView
5
{
6
public
byte
[]
GetBytes
()
7
{
8
throw
new
NotImplementedException();
9
}
10
11
public
string
GetView
()
12
{
13
return
"<h1>404: Resource or Route not found</h1>"
;
14
}
15
}
SimpleRest.Views.ResourceNotFoundView
Definition
ResourceNotFoundView.cs:5
SimpleRest.Views.ResourceNotFoundView.GetBytes
byte[] GetBytes()
Definition
ResourceNotFoundView.cs:6
SimpleRest.Views.ResourceNotFoundView.GetView
string GetView()
Definition
ResourceNotFoundView.cs:11
SimpleRest.Views.ISimpleRestView
Definition
ISimpleRestView.cs:3
SimpleRest.Api
Definition
Enums.cs:1
SimpleRest.Views
Definition
ResourceNotFoundView.cs:3
Src
Default types
Views
ResourceNotFoundView.cs
Generated by
1.12.0