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'

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.

Edit this 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