public async Task <IActionResult> Update( [HttpTrigger(AuthorizationLevel.Anonymous, "put", Route = "project/{id}")] HttpRequest req, ILogger log, string id) { return(await CommandQueryFactory.Create <UpdateProjectCommand>(req, log) .AddIdRouteParameter(id) .OnSuccess(x => _projectHandler.Update(x))); }