BMC: Change SendNotification API format
This commit is contained in:
parent
f822cc9fe9
commit
9938bbabc7
@ -11,8 +11,8 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace BCS.BMC.Web.Controllers
|
namespace BCS.BMC.Web.Controllers
|
||||||
{
|
{
|
||||||
//[Route("api/notification")]
|
|
||||||
//[ApiController]
|
[Route("api/[controller]/SendNotification")]
|
||||||
public class FirebaseNotificationController : BMCControllerBase
|
public class FirebaseNotificationController : BMCControllerBase
|
||||||
{
|
{
|
||||||
private readonly FirebaseNotificationAppService _notificationService;
|
private readonly FirebaseNotificationAppService _notificationService;
|
||||||
@ -22,7 +22,7 @@ namespace BCS.BMC.Web.Controllers
|
|||||||
_notificationService = notificationService;
|
_notificationService = notificationService;
|
||||||
}
|
}
|
||||||
|
|
||||||
[Route("send")]
|
//[Route("SendNotification")]
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<IActionResult> Notification( [FromBody] FireBaseResponseModel notification)
|
public async Task<IActionResult> Notification( [FromBody] FireBaseResponseModel notification)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user