Extensions..::..AsViewModel Method (Company)

Ases the view model.

Namespace:  MichaelBrandonMorris.KingsportMillSafetyTraining.Models
Assembly:  MichaelBrandonMorris.KingsportMillSafetyTraining (in MichaelBrandonMorris.KingsportMillSafetyTraining.dll)

Syntax


public static CompanyViewModel AsViewModel(
	Company company
)
Public Shared Function AsViewModel ( _
	company As Company _
) As CompanyViewModel
public:
static CompanyViewModel^ AsViewModel(
	Company^ company
)

Return Value

CompanyViewModel.

Exceptions


ExceptionCondition
ArgumentNullExceptioncompany