public async Task <HistoryResponse> AssignHistoryAsync(int customerId, int sessionId, DateTime Watched)
        {
            try
            {
                await _historyRepository.AssingHistory(customerId, sessionId, Watched);

                await _unitOfWork.CompleteAsync();

                History history = await _historyRepository.FindByCustomerIdAndSessionId(customerId, sessionId);

                return(new HistoryResponse(history));
            }
            catch (Exception ex)
            {
                return(new HistoryResponse($"An error ocurred while assigning history to session:{ex.Message}"));
            }
        }