From 1e835b1ae67c310fb587448ac9e2a34cfb48aeef Mon Sep 17 00:00:00 2001 From: Frolov-Nikita Date: Tue, 8 Aug 2023 13:14:03 +0500 Subject: [PATCH] Notification add route parametr for DELETE method --- AsbCloudWebApi/Controllers/NotificationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AsbCloudWebApi/Controllers/NotificationController.cs b/AsbCloudWebApi/Controllers/NotificationController.cs index ebb738e4..a954d2a9 100644 --- a/AsbCloudWebApi/Controllers/NotificationController.cs +++ b/AsbCloudWebApi/Controllers/NotificationController.cs @@ -131,7 +131,7 @@ public class NotificationController : ControllerBase /// Id уведомления /// /// - [HttpDelete] + [HttpDelete("{idNotification}")] public async Task DeleteAsync([Required] int idNotification, CancellationToken cancellationToken) {