/CustomApiResLib

Mak response data and error message to same format

Primary LanguageC#

Custom Api Lib

Mak response data and error message to same format

Usage

  • In the **Startup.cs Configure ** method add this code

    app.UseCustomExceptionMiddleware();
  • Add this attribute [CustomResponseResult] in you controllers