public async Task <IActionResult> NotifyWebhook(String referenceOrder, [FromBody] OrderDataNotify value) { if (String.IsNullOrEmpty(referenceOrder) || String.IsNullOrEmpty(value?.WebhookUrl)) { return(BadRequest()); } if (await _notifyService.AddNotifyDestiny(referenceOrder, NotifyType.Webhook, value.WebhookUrl)) { return(Ok()); } return(BadRequest()); }