More cleanup

This commit is contained in:
kdeng00
2024-06-16 18:25:19 -04:00
parent 5416035313
commit 3a78dac5bb
8 changed files with 1 additions and 20 deletions
-2
View File
@@ -1,5 +1,3 @@
using System;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace Icarus.Models; namespace Icarus.Models;
+1 -4
View File
@@ -27,9 +27,6 @@ public class CoverArt
return (flag == 0) ? filename : $"{filename}{extension}"; return (flag == 0) ? filename : $"{filename}{extension}";
} }
public async Task<byte[]> GetData() public async Task<byte[]> GetData() => await File.ReadAllBytesAsync(this.ImagePath);
{
return await File.ReadAllBytesAsync(this.ImagePath);
}
#endregion #endregion
} }
-2
View File
@@ -1,5 +1,3 @@
using System;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace Icarus.Models; namespace Icarus.Models;
-2
View File
@@ -1,5 +1,3 @@
using System;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace Icarus.Models; namespace Icarus.Models;
-3
View File
@@ -1,7 +1,4 @@
using System;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json; using Newtonsoft.Json;
-3
View File
@@ -1,6 +1,3 @@
using System;
using System.Text;
namespace Icarus.Models; namespace Icarus.Models;
public class SongData public class SongData
-2
View File
@@ -1,5 +1,3 @@
using System;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace Icarus.Models; namespace Icarus.Models;
-2
View File
@@ -1,7 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Newtonsoft.Json; using Newtonsoft.Json;