private Task <Validation <BaseError, PlexMediaSource> > MediaSourceMustExist(SynchronizePlexLibraries request) => _mediaSourceRepository.GetPlex(request.PlexMediaSourceId) .Map(o => o.ToValidation <BaseError>("Plex media source does not exist."));
private Task <Validation <BaseError, PlexMediaSource> > PlexMediaSourceMustExist( GetPlexConnectionParameters request) => _mediaSourceRepository.GetPlex(request.PlexMediaSourceId) .Map( v => v.ToValidation <BaseError>( $"Plex media source {request.PlexMediaSourceId} does not exist."));