public async Task AddLinkPreviewAsync(Guid activityId, int previewId)
 {
     var entity = new ActivityToLinkPreviewEntity {
         ActivityId = activityId, LinkPreviewId = previewId
     };
     await _previewRelationRepository.AddAsync(entity);
 }
        public void AddLinkPreview(Guid activityId, int previewId)
        {
            var entity = new ActivityToLinkPreviewEntity {
                ActivityId = activityId, LinkPreviewId = previewId
            };

            _previewRelationRepository.Add(entity);
        }