public async Task UpdateContentWatchingStatus(string userId, string contentId, ContentWatchingStatus watchingStatus) { await _userContentRepository.UpdateContentWatchingStatus(userId, contentId, watchingStatus); }
public async Task UpdateContentWatchingStatus(string userId, string contentId, ContentWatchingStatus watchingStatus) { await _userContentCollection.UpdateOneAsync(uc => uc.UserId == userId && uc.ContentId == contentId, Builders <UserContentModel> .Update.Set(c => c.Status, ContentWatchingStatus.Finished)); }