Click or drag to resize

EmployeeControllerDelete Method (Int32, FormCollection)

Deleting an employee

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
Employee ID
pCollection
Type: FormCollection
Data of web form

Return Value

Type: ActionResult
Redirection to view employee Index (list of employees)
Examples
POST: Employee/Delete/5
See Also