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

AdminControllerAddAddress Method (Int32, String, NullableInt32, NullableInt32)

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 AddAddress(
	int id,
	string Description,
	int? SetBillingAddress,
	int? SetShippingAddress
)

Parameters

id
Type: SystemInt32
ID of the requested user
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

Return Value

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

Reference

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