-
In the **Startup.cs Configure ** method add this code
app.UseCustomExceptionMiddleware();
-
Add this attribute [CustomResponseResult] in you controllers
benknightdark / customapireslib Goto Github PK
View Code? Open in Web Editor NEWMak response data and error message to same format