Добавлены права для критических сообщений

This commit is contained in:
Olga Nemt 2024-09-18 09:39:18 +05:00
parent 6dfb596000
commit 9be92a0906

View File

@ -65,6 +65,7 @@ public class MessageController : ControllerBase
}
[HttpGet("/api/serviceOperation/[controller]")]
[Permission]
[ProducesResponseType(typeof(IEnumerable<StatCriticalMessageDto>), (int)System.Net.HttpStatusCode.OK)]
public async Task<IActionResult> Get([FromQuery] MessageRequest request, CancellationToken token)
{