Click or drag to resize
DepartmentInfoProviderGetDepartmentInfo Method (Int32)

Note: This API is now obsolete.

Returns department with specified ID.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IDepartmentInfoProvider.Get(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - DepartmentInfo.Provider.")]
public static DepartmentInfo GetDepartmentInfo(
	int departmentId
)

Parameters

departmentId
Type: SystemInt32
Department ID

Return Value

Type: DepartmentInfo
See Also