Browse Source

BMC: Change SendNotification API format

feature/ModificationForSentNotificationAPI
Palash Biswas 2 years ago
parent
commit
9938bbabc7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      BCS.BMC/src/BCS.BMC.Web.Mvc/Controllers/FirebaseNotificationController.cs

+ 3
- 3
BCS.BMC/src/BCS.BMC.Web.Mvc/Controllers/FirebaseNotificationController.cs View File

@ -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<IActionResult> Notification( [FromBody] FireBaseResponseModel notification)
{


Loading…
Cancel
Save