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+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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