NotificationController mark as obsolete

This commit is contained in:
ngfrolov 2023-09-15 11:26:33 +05:00
parent c05fc0f400
commit a7e2319835
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -1,3 +1,4 @@
using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
@ -18,6 +19,7 @@ namespace AsbCloudWebApi.Controllers;
[ApiController] [ApiController]
[Authorize] [Authorize]
[Route("api/[controller]")] [Route("api/[controller]")]
[Obsolete("Это тестовый контроллер, его нельзя использовать на фронте.")]
public class NotificationController : ControllerBase public class NotificationController : ControllerBase
{ {
private readonly NotificationService notificationService; private readonly NotificationService notificationService;