ModelFactoryGenerateDeletedItem Method

Generates a deleted item instance (based on a soft-deleted CompanyDto)

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static DeletedItem GenerateDeletedItem(
	CompanyDto company,
	IIdLabel item
)

Parameters

company  CompanyDto
Deleted company
item  IIdLabel
Descriptive label of the deleted company

Return Value

DeletedItem
Deleted item instance

Exceptions

ArgumentNullExceptionThrown if company or item is null

See Also