How can i read user rolls ?

Mar 31 2022 12:25 PM

C# Currently i'm writing a TicketSystem in ASP.net and have troubel with the Admin Pannel.

I want read out the user roll's and i'm getting the folowing Error message:

Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: "'System.Threading.Tasks.Task<System.Collections.Generic.IList<string>>' does not contain a definition for 'ToList'"

I posed the Code

thx for the fast answers.


Attachment: Code.zip

Answers (1)