Further cleanup. Moved BackgroundJob Task enqueues into TaskScheduler, so I can have complete control via one interface.
This commit is contained in:
parent
825afd83a2
commit
26660a9bb3
7 changed files with 47 additions and 43 deletions
|
@ -50,7 +50,7 @@ namespace API.Controllers
|
|||
|
||||
if (user == null) return BadRequest("Could not validate user");
|
||||
|
||||
var libs = await _unitOfWork.LibraryRepository.GetLibrariesDtoForUsernameAsync(user.UserName);
|
||||
var libs = await _unitOfWork.LibraryRepository.GetLibraryDtosForUsernameAsync(user.UserName);
|
||||
|
||||
return Ok(libs.Any(x => x.Id == libraryId));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue