ModelFactoryGenerateDashboard Method

Generates a new DashboardDto based on the given parameters.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static DashboardDto GenerateDashboard(
	AccountDto createdBy,
	IStringLocalizer loc
)

Parameters

createdBy  AccountDto
User creating the dashboard (for themselves)
loc  IStringLocalizer
Localization tool

Return Value

DashboardDto
Generated dashboard

Exceptions

ArgumentNullExceptionThrown if createdBy is .

See Also