CORE-23734: Refactoring

This commit is contained in:
phoenix
2025-02-06 20:09:43 -05:00
parent 8f6350a3dc
commit 6bff36bc03
3 changed files with 4 additions and 12 deletions
+1 -9
View File
@@ -8,14 +8,6 @@ using TagLib.Mpeg4;
namespace Icarus.Controllers.Managers;
public enum CreateFileResult
{
Unknown = 0,
AlreadyExists = 1,
FileCreatedAndExists = 2
}
public class SongManager : BaseManager
{
#region Fields
@@ -377,7 +369,7 @@ public class SongManager : BaseManager
}
public CreateFileResult Create(IFormFile file, string filePath, string prompt)
public Icarus.Models.CreateFileResult Create(IFormFile file, string filePath, string prompt)
{
if (System.IO.File.Exists(filePath))
{