Cleaned up some warnings, and fixed issue where no Year records were being retrieved #37
This commit is contained in:
1 parent
d85197c313
commit
e1614adfad
3 files changed
+4
-5
No files matched your search
@@ -247,7 +247,7 @@ namespace Icarus.Controllers.Managers
|
||||
}
|
||||
}
|
||||
|
||||
public async Task SaveSong(SongData songData)
|
||||
public void SaveSong(SongData songData)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -413,7 +413,7 @@ namespace Icarus.Controllers.Managers
|
||||
|
||||
return _songs;
|
||||
}
|
||||
public async Task<Song> RetrieveSongDetails(int id)
|
||||
public Song RetrieveSongDetails(int id)
|
||||
{
|
||||
DataTable results = new DataTable();
|
||||
|
||||
@@ -456,7 +456,7 @@ namespace Icarus.Controllers.Managers
|
||||
SongData song = new SongData();
|
||||
try
|
||||
{
|
||||
_song = await RetrieveSongDetails(id);
|
||||
_song = RetrieveSongDetails(id);
|
||||
song = await RetrieveSongFromFileSystem(_song);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@@ -13,7 +13,6 @@ namespace Icarus.Controllers.Utilities
|
||||
public class SongCompression
|
||||
{
|
||||
#region Fields
|
||||
string _archiveDirectory;
|
||||
string _compressedSongFilename;
|
||||
string _tempDirectory;
|
||||
byte[] _uncompressedSong;
|
||||
|
||||
Reference in new issue
Block a user