예제 #1
0
 private Task <Validation <BaseError, EmbyMediaSource> > MediaSourceMustExist(
     SynchronizeEmbyCollections request) =>
 _mediaSourceRepository.GetEmby(request.EmbyMediaSourceId)
 .Map(o => o.ToValidation <BaseError>("Emby media source does not exist."));