public async Task <IActionResult> Signup(CreateAccountRequest signup) { CreateAccountResponse response = await _accountService.CreateAccountAsync(signup); if (response.IsValid()) { return(Ok(response)); } return(BadRequest(response.GetErrors())); }