コード例 #1
0
ファイル: WebhookController.cs プロジェクト: Azure/ace-luna
 public async Task <ActionResult> GetAllAsync(string offerName)
 {
     AADAuthHelper.VerifyUserAccess(this.HttpContext, _logger, true);
     _logger.LogInformation($"Get all webhooks in offer {offerName}.");
     return(Ok(await _webhookService.GetAllAsync(offerName)));
 }
コード例 #2
0
 public async Task <IEnumerable <Webhook> > Get()
 {
     return(await _webhookService.GetAllAsync());
 }