Processes request to add a new address
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: 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: ActionResultRedirects to invoice detail, or address management view, or returnUrl (success) or View() (errors)
See Also