You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can create the role in asp.net core 5
Please help me how to fix the error
The errors on "var controllers = (IEnumerable<MvcControllerInfo>)ViewData["Controllers"];"
An unhandled exception occurred while processing the request.
InvalidCastException: Unable to cast object of type 'System.Collections.Generic.List1[DynamicAuthorization.Mvc.Core.MvcControllerInfo]' to type 'System.Collections.Generic.IEnumerable1[DynamicAuthorization.Models.MvcControllerInfo]'.
AspNetCore.Views_Role_Create.ExecuteAsync() in Create.cshtml, line 5
The text was updated successfully, but these errors were encountered:
I can create the role in asp.net core 5
Please help me how to fix the error
The errors on
"var controllers = (IEnumerable<MvcControllerInfo>)ViewData["Controllers"];"
An unhandled exception occurred while processing the request.
InvalidCastException: Unable to cast object of type 'System.Collections.Generic.List
1[DynamicAuthorization.Mvc.Core.MvcControllerInfo]' to type 'System.Collections.Generic.IEnumerable
1[DynamicAuthorization.Models.MvcControllerInfo]'.AspNetCore.Views_Role_Create.ExecuteAsync() in Create.cshtml, line 5
The text was updated successfully, but these errors were encountered: