예제 #1
0
        public async Task <IActionResult> Run(
            [HttpTrigger(AuthorizationLevel.Function, "delete", Route = "JobApplications/JobApplicationDeleteById/{id}")] HttpRequest req, string id, ILogger log)
        {
            await _jobApplicationRepository.DeleteItemAsync(new Guid(id));

            return(new NoContentResult());
        }