-
In the **Startup.cs Configure ** method add this code
app.UseCustomExceptionMiddleware();
-
Add this attribute [CustomResponseResult] in you controllers
In the **Startup.cs Configure ** method add this code
app.UseCustomExceptionMiddleware();
Add this attribute [CustomResponseResult] in you controllers