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.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
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