12345678910111213141516171819 |
- using System;
- using System.Runtime.Serialization;
-
- namespace Backend.Common
- {
- public class ErrorsConstants
- {
- public static string C_APPLICATION_DBCONTEXT_NULL_MSG = "ApplicationDBContext is null";
- public static string C_REPO_MSG_ERROR = "Repository Error";
- public static string C_SERVICE_MSG_ERROR = "Service Error";
- public static string C_NOT_EXIST_MSG_ERROR = "Object Not exist";
- public static string HTTP_ERROR_5XX = "Internal Error";
- public static string HTTP_ERROR_4XX = "Bad request";
- public static string C_REPO_MSG_ERROR_SAVE ="Save Change in database Error";
- public static string C_REPO_MSG_ERROR_UPDATE = "Update object in database context Error";
- public static string C_REPO_MSG_ERROR_ADD = "Add object in database context Error";
- public static string C_REPO_MSG_ERROR_REMOVE = "Add object in database context Error";
- }
- }
|