From 9938bbabc7a88a2024f5b26a9c97aa1c610b6f6c Mon Sep 17 00:00:00 2001 From: Palash Biswas Date: Tue, 29 Nov 2022 16:57:37 +0530 Subject: [PATCH] BMC: Change SendNotification API format --- .../Controllers/FirebaseNotificationController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BCS.BMC/src/BCS.BMC.Web.Mvc/Controllers/FirebaseNotificationController.cs b/BCS.BMC/src/BCS.BMC.Web.Mvc/Controllers/FirebaseNotificationController.cs index 5257e39..c4afdd5 100644 --- a/BCS.BMC/src/BCS.BMC.Web.Mvc/Controllers/FirebaseNotificationController.cs +++ b/BCS.BMC/src/BCS.BMC.Web.Mvc/Controllers/FirebaseNotificationController.cs @@ -11,8 +11,8 @@ using System.Threading.Tasks; namespace BCS.BMC.Web.Controllers { - //[Route("api/notification")] - //[ApiController] + + [Route("api/[controller]/SendNotification")] public class FirebaseNotificationController : BMCControllerBase { private readonly FirebaseNotificationAppService _notificationService; @@ -22,7 +22,7 @@ namespace BCS.BMC.Web.Controllers _notificationService = notificationService; } - [Route("send")] + //[Route("SendNotification")] [HttpPost] public async Task Notification( [FromBody] FireBaseResponseModel notification) {