Cleaned up some warnings and implemented re-occuring scan libraries task. Customization of task schedules is in v0.2.

This commit is contained in:
Joseph Milazzo 2021-01-19 14:41:50 -06:00
parent e180032a8e
commit 3c8e4b2240
13 changed files with 20 additions and 58 deletions

View file

@ -22,18 +22,16 @@ namespace API.Controllers
private readonly IMapper _mapper;
private readonly ITaskScheduler _taskScheduler;
private readonly IUnitOfWork _unitOfWork;
private readonly ICacheService _cacheService;
public LibraryController(IDirectoryService directoryService,
ILogger<LibraryController> logger, IMapper mapper, ITaskScheduler taskScheduler,
IUnitOfWork unitOfWork, ICacheService cacheService)
IUnitOfWork unitOfWork)
{
_directoryService = directoryService;
_logger = logger;
_mapper = mapper;
_taskScheduler = taskScheduler;
_unitOfWork = unitOfWork;
_cacheService = cacheService;
}
/// <summary>