I have call multiple model one .cshtml file and face a error
Parser Error Message: Only one 'model' statement is allowed in a file.
@model SimpleMenuViewModel @model IPageViewModel
Please help me
Hi essitco.dotne...,
You have merge 2 models in one or use ExpandoObject.
Refer below articles.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.