No Description

ErrorsConstants.cs 934B

12345678910111213141516171819
  1. using System;
  2. using System.Runtime.Serialization;
  3. namespace Backend.Domain
  4. {
  5. public class ErrorsConstants
  6. {
  7. public static string S_APPLICATION_DBCONTEXT_NULL_MSG = "ApplicationDBContext is null";
  8. public static string S_REPO_MSG_ERROR = "Repository Error";
  9. public static string S_SERVICE_MSG_ERROR = "Service Error";
  10. public static string S_NOT_EXIST_MSG_ERROR = "Object Not exist";
  11. public static string S_HTTP_ERROR_5XX = "Internal Error";
  12. public static string S_HTTP_ERROR_4XX = "Bad request";
  13. public static string S_REPO_MSG_ERROR_SAVE ="Save Change in database Error";
  14. public static string S_REPO_MSG_ERROR_UPDATE = "Update object in database context Error";
  15. public static string S_REPO_MSG_ERROR_ADD = "Add object in database context Error";
  16. public static string S_REPO_MSG_ERROR_REMOVE = "Add object in database context Error";
  17. }
  18. }

Powered by TurnKey Linux.