Click or drag to resize

SalesControllerDelete Method (Int32, FormCollection)

Deleting a sale from database and go to URL referrer

Namespace:  Velo.Web.Controllers
Assembly:  Velo.Web (in Velo.Web.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public ActionResult Delete(
	int pID,
	FormCollection pCollection
)

Parameters

pID
Type: SystemInt32
Sale ID
pCollection
Type: FormCollection
Data of web form

Return Value

Type: ActionResult
Redirection to sales Index view
Examples
POST: Sales/Delete/5
See Also