public async Task <IActionResult> Create( [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "account")] HttpRequest req, ILogger log) { return(await CommandQueryFactory.Create <CreateAccountCommand>(req, log) .OnSuccess(x => _accountHandler.Create(x))); }