My code looks as below.
try { _productRepo.GetAllProductCategories(); } catch (Exception ex) { //Do Something }
I need a way to sho
Look at the stacktrace.
It's a property on the exception.