Revize a9acdf32
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Backend/Controllers/Common/CommonControllerBase.cs | ||
---|---|---|
1 | 1 |
using Microsoft.AspNetCore.Mvc; |
2 | 2 |
using RestAPI.Authentication; |
3 |
using System.Net; |
|
3 | 4 |
|
4 | 5 |
namespace RestAPI.Controllers.Common; |
5 | 6 |
|
6 | 7 |
[ApiController] |
7 | 8 |
[Authorize] |
9 |
[ProducesResponseType((int)HttpStatusCode.InternalServerError)] |
|
8 | 10 |
public abstract class CommonControllerBase : ControllerBase |
9 | 11 |
{ |
10 | 12 |
} |
Také k dispozici: Unified diff
Moved InternalServerError to ControllerBase