You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > EventController Class > EditLot Method (Int32, Int32, String, String, String, String)

EventControllerEditLot Method (Int32, Int32, String, String, String, String)

AuctionWorx 3.5 API
Processes request to edit the specified lot

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

Syntax

C#
public ActionResult EditLot(
	int id,
	int CategoryID,
	string ListingType,
	string LineageString,
	string Currency,
	string returnUrl
)

Parameters

id
Type: SystemInt32
ID of the requested lot to be edited
CategoryID
Type: SystemInt32
ID of the requested listing category
ListingType
Type: SystemString
Name of requested listing type (e.g. "Auction", "FixedPrice")
LineageString
Type: SystemString
represents all categories to be assigned to the new listing
Currency
Type: SystemString
3-character code of the requested currency (e.g. "USD", "AUD", "JPY")
returnUrl
Type: SystemString
the optional url to redirect to upon success

Return Value

Type: ActionResult
(success) Redirect to /Listing/Details/[id] (auth. failure) Redirect to /Listing/Details/[id] (validation errors) View(Listing)
See Also

Reference

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