You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > AccountController Class > CreateAddress Method (String, Nullable(Int32), Nullable(Int32), String)

AccountControllerCreateAddress Method (String, NullableInt32, NullableInt32, String)

AuctionWorx 3.5 API
Processes request to add a new address

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5

Syntax

C#
public ActionResult CreateAddress(
	string Description,
	int? SetBillingAddress,
	int? SetShippingAddress,
	string returnUrl
)

Parameters

Description
Type: SystemString
user-defined name for the new address
SetBillingAddress
Type: SystemNullableInt32
if supplied, the id of the invoice to set the new billing address upon success
SetShippingAddress
Type: SystemNullableInt32
if supplied, the id of the invoice to set the new shipping address upon success
returnUrl
Type: SystemString
Url to redirect to upon success (invoice detail or address management list, if missing)

Return Value

Type: ActionResult
Redirects to invoice detail, or address management view, or returnUrl (success) or View() (errors)
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.