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'

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.

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

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

© 2023 - ErnesTech LLC- Privacy