Currently, for each Web API, I catch the exception like the below:
try { //My code return Ok(); } catch (Exception ex) { return new ExceptionResult(ex, true); }
I am thinking if any other common way to do this catch exception, so that I do not need to do "try catch" for every Web API.