Example #1
0
 public async Task <IActionResult> Create(
     [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "project")]
     HttpRequest req, ILogger log)
 {
     return(await CommandQueryFactory.Create <CreateProjectCommand>(req, log)
            .OnSuccess(x => _projectHandler.Create(x)));
 }