Esempio n. 1
0
 private Task <Validation <BaseError, JellyfinMediaSource> > MediaSourceMustExist(
     SynchronizeJellyfinAdminUserId request) =>
 _mediaSourceRepository.GetJellyfin(request.JellyfinMediaSourceId)
 .Map(o => o.ToValidation <BaseError>("Jellyfin media source does not exist."));