Click or drag to resize
IDepartmentApiDeleteDepartment Method
Deletes a department by ID.

Namespace: AMG.API
Assembly: AMG.API (in AMG.API.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
int DeleteDepartment(
	int departmentId
)

Parameters

departmentId
Type: SystemInt32
The ID of department to delete

Return Value

Type: Int32
Returns number of deleted database rows.
See Also