Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack in EntityFramworkCore code example
Example: unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
Response.Redirect(url,false);