Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public async Task<IHttpActionResult> SendNotificationAsync([FromBody] string message)
- {
- HttpConfiguration config = this.Configuration;
- try
- {
- await SendNotification(message, null);
- }
- catch(Exception ex)
- {
- config.Services.GetTraceWriter().Error(
- ex.Message , null, "Push.SendAsync Error");
- return BadRequest(ex.Message);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement