diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-12-10 21:23:04 +0200 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-12-10 21:23:04 +0200 |
| commit | 0bd15454f29e30438b28ca0e27887de6b765fb11 (patch) | |
| tree | 0b3aca4c8db64e1df92f6b642ca32b2e813cda78 | |
| parent | f8dd04620150c2806169c881c8537dc623a0f463 (diff) | |
| download | DevHive-0bd15454f29e30438b28ca0e27887de6b765fb11.tar DevHive-0bd15454f29e30438b28ca0e27887de6b765fb11.tar.gz DevHive-0bd15454f29e30438b28ca0e27887de6b765fb11.zip | |
Added temporary functionality to ErrorController
| -rw-r--r-- | API/Controllers/ErrorController.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/API/Controllers/ErrorController.cs b/API/Controllers/ErrorController.cs index 6757804..62daf40 100644 --- a/API/Controllers/ErrorController.cs +++ b/API/Controllers/ErrorController.cs @@ -1,13 +1,16 @@ using System; +using System.Net; +using Microsoft.AspNetCore.Mvc; namespace API.Controllers { [ApiController] + [Route("/api/[controller]")] public class ErrorController { public HttpStatusCode Error(Exception exception) { - + return HttpStatusCode.OK; } } -}
\ No newline at end of file +} |
