ModelFactoryGenerateHelp Method
Generates a new
HelpDto based on the given parameters.
Namespace: MobileTrack.Common.ExtensionsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static HelpDto GenerateHelp(
AccountDto createdBy,
Guid? parentId,
IStringLocalizer loc,
string topicName,
SectionDto? htmlSectionDto,
string languageCode = "nl"
)
- createdBy AccountDto
- User creating the help
- parentId NullableGuid
- Parent ID
- loc IStringLocalizer
- Localization tool
- topicName String
- Topic's name
- htmlSectionDto SectionDto
- HTML section to insert (if left empty, a basic page will be created)
- languageCode String (Optional)
- The current language code
HelpDtoGenerated
HelpDto