public async Task <IEnumerable <GitCommitModel> > TriggerForAzureDevOps( [ActivityTrigger] GetCommitsByEmpID request, ILogger log, CancellationToken ct) { log.LogInformation("C# HTTP trigger function processed a request."); return(await Mediator.Send(request, ct)); }
public async Task <IActionResult> RunForAzureDevOps( [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] GetCommitsByEmpID request, ILogger log, CancellationToken ct) { log.LogInformation("C# HTTP trigger function processed a request."); return(await RunRequest(request, ct)); }