diff options
| author | transtrike <transtrike@gmail.com> | 2021-04-07 18:41:30 +0300 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-04-07 18:41:30 +0300 |
| commit | b8d1edfc582bee2ef648757bcad1bbadd075bb08 (patch) | |
| tree | 0042a44c3091af36994cdc9b91a835ed1d803eaa /src/Common/DevHive.Common/Constants | |
| parent | f4eac9c89bef0c21d7ccb29cb0841fa621c79f46 (diff) | |
| parent | da7d6223c261aac8e8f18458c11fb48cf9ca4cfe (diff) | |
| download | DevHive-b8d1edfc582bee2ef648757bcad1bbadd075bb08.tar DevHive-b8d1edfc582bee2ef648757bcad1bbadd075bb08.tar.gz DevHive-b8d1edfc582bee2ef648757bcad1bbadd075bb08.zip | |
Merged from dev
Diffstat (limited to 'src/Common/DevHive.Common/Constants')
| -rw-r--r-- | src/Common/DevHive.Common/Constants/ClassesConstants.cs | 22 | ||||
| -rw-r--r-- | src/Common/DevHive.Common/Constants/ErrorMessages.cs | 16 |
2 files changed, 38 insertions, 0 deletions
diff --git a/src/Common/DevHive.Common/Constants/ClassesConstants.cs b/src/Common/DevHive.Common/Constants/ClassesConstants.cs new file mode 100644 index 0000000..825f737 --- /dev/null +++ b/src/Common/DevHive.Common/Constants/ClassesConstants.cs @@ -0,0 +1,22 @@ +namespace DevHive.Common.Constants +{ + public static class ClassesConstants + { + public const string Data = "Data"; + + public const string Post = "The Post"; + public const string Comment = "The Comment"; + public const string User = "The User"; + public const string Language = "The Language"; + public const string Picture = "The Picture"; + public const string Files = "The Files"; + public const string Rating = "The Rating"; + public const string Role = "The Role"; + public const string Technology = "The Technology"; + + public const string Username = "The Username"; + public const string Email = "The Email"; + public const string Password = "Password"; + public const string OneOrMoreFriends = "One or more Friends"; + } +} diff --git a/src/Common/DevHive.Common/Constants/ErrorMessages.cs b/src/Common/DevHive.Common/Constants/ErrorMessages.cs new file mode 100644 index 0000000..30ca544 --- /dev/null +++ b/src/Common/DevHive.Common/Constants/ErrorMessages.cs @@ -0,0 +1,16 @@ +namespace DevHive.Common.Constants +{ + public static class ErrorMessages + { + public const string InvalidData = "Invalid {0}!"; + public const string IncorrectData = "Incorrect {0}!"; + public const string DoesNotExist = "{0} does not exist!"; + public const string AlreadyExists = "{0} already exists!"; + + public const string CannotAdd = "Could not add {0}!"; + public const string CannotCreate = "Could not create {0}!"; + public const string CannotDelete = "Could not delete {0}!"; + public const string CannotUpload = "Could not upload {0}!"; + public const string CannotEdit = "Could not edit {0}!"; + } +} |
