Refactored ScanLibrary to accept and library id rather than DTO. Refactored ScanLibrary to use Task.Run() rather than having synchronous repo methods.
This commit is contained in:
parent
9168e12483
commit
7b1714349d
9 changed files with 44 additions and 75 deletions
|
|
@ -1,5 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using API.DTOs;
|
||||
|
||||
namespace API.Interfaces
|
||||
{
|
||||
|
|
@ -7,6 +6,6 @@ namespace API.Interfaces
|
|||
{
|
||||
IEnumerable<string> ListDirectory(string rootPath);
|
||||
|
||||
void ScanLibrary(LibraryDto library);
|
||||
void ScanLibrary(int libraryId);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue