Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can create the role in asp.net core 5 #29

Open
justaddisu opened this issue Feb 20, 2022 · 1 comment
Open

I can create the role in asp.net core 5 #29

justaddisu opened this issue Feb 20, 2022 · 1 comment

Comments

@justaddisu
Copy link

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

image

@mo-esmp
Copy link
Owner

mo-esmp commented Feb 21, 2022

@justaddisu Could please tell me how can I reproduce this error or you can share the codes related to this error via a GitHub repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants