public async Task ExecuteAsync(string userName, string email, string password) { var user = new User { Email = email, UserName = userName }; var result = await _userService.SignUpAsync(user, password); result.Switch( ok => _outputPort.Ok(), error => { _notification.Add("Detail", error.Value); _outputPort.Conflict(); }); }