chore: init commit from GitHub
Some checks are pending
Deploy / update (push) Waiting to run
Build Project .NET / build (push) Waiting to run

This commit is contained in:
Lisoveliy
2025-05-12 19:44:33 +03:00
parent 11a3f40596
commit aebe654c38
107 changed files with 18953 additions and 403 deletions

View File

@@ -0,0 +1,17 @@
namespace SWAD.API.Consts.Enums;
public enum MusicService
{
/// <summary>
/// Spotify Service
/// </summary>
Spotify,
/// <summary>
/// Tidal Service
/// </summary>
Tidal,
/// <summary>
/// Yandex Service
/// </summary>
Yandex
}

View File

@@ -0,0 +1,31 @@
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
}