Jun 20, 2019 01:00 PM|PatriceSc|LINK
If you have a "bad request" response this is what you asked for when an exception happens (which is likely a bad idea). If an exception happens, the first step would be to be able to see what it is (by default it should go to the Windows event log). Unless
seeing something obvious it much easier to fix a problem knowing first what it is (which usually takes a couple of minutes).
You could likely use https://docs.microsoft.com/en-us/visualstudio/debugger/using-breakpoints?view=vs-2019 and see which exception you have in E. BTW
I would expect return Ok(cust);