-
<!--- updateUser --->
-
<cffunction name="updateUser">
-
<cfargument name="event" type="any" />
-
<!--- get the values from the framework --->
-
<cfset var name = arguments.event.getValue("name") />
-
<cfset var email = arguments.event.getValue("Email") />
-
<!--- Ask the model to update a user --->
-
<cfset var updateUser = variables.UserService.updateUser(ID, name, email, password, password2, submitType) />
-
<cfreturn arguments.event />
-
</cffunction>