RuntimeBinderException: Cannot implicitly convert type

Question: How do you resolve the error that says "RuntimeBindingException: Cannot implicitly convert type 'System.Runtime.CompilerServices.ConfiguredTaskAwaitable<System.Collections.Generic.List<ClassName>>' to 'System.Collections.IEnumerable'


Please Login to see the rest of the answer

Answer: There is a chance that you are calling an Async Function in your Controller without Waiting for Results. Just add an "await" in front of the function call from your Controller.



Write an Article
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.


© 2022 - ErnesTech - Privacy