SwapDude/SWAD.API/Consts/Enums/ServiceResult.cs
Lisoveliy aebe654c38
Some checks are pending
Deploy / update (push) Waiting to run
Build Project .NET / build (push) Waiting to run
chore: init commit from GitHub
2025-05-12 19:44:33 +03:00

31 lines
696 B
C#

namespace SWAD.API.Consts.Enums;
/// <summary>
/// Service errors for controller
/// </summary>
public enum ServiceResult
{
/// <summary>
/// Returns on the successful executed state
/// </summary>
Success,
/// <summary>
/// Returns on the unsuccessful executed state
/// </summary>
Failure,
/// <summary>
/// Returns on the unsuccessful executed state not by code
/// </summary>
NoResponse,
/// <summary>
/// Returns on the unsuccessful executed state by user
/// </summary>
BadRequest,
/// <summary>
/// Returns on the unsuccessful executed state by service
/// </summary>
NotFound
}