|
|
@ -85,6 +85,7 @@ namespace Ombi.Core.Engine
|
|
|
|
return new VoteEngineResult { ErrorMessage = "You have already voted!" };
|
|
|
|
return new VoteEngineResult { ErrorMessage = "You have already voted!" };
|
|
|
|
}
|
|
|
|
}
|
|
|
|
await RemoveCurrentVote(currentVote);
|
|
|
|
await RemoveCurrentVote(currentVote);
|
|
|
|
|
|
|
|
await _movieRequestEngine.SubscribeToRequest(requestId, requestType);
|
|
|
|
|
|
|
|
|
|
|
|
await _voteRepository.Add(new Votes
|
|
|
|
await _voteRepository.Add(new Votes
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -148,6 +149,8 @@ namespace Ombi.Core.Engine
|
|
|
|
}
|
|
|
|
}
|
|
|
|
await RemoveCurrentVote(currentVote);
|
|
|
|
await RemoveCurrentVote(currentVote);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await _movieRequestEngine.UnSubscribeRequest(requestId, requestType);
|
|
|
|
|
|
|
|
|
|
|
|
await _voteRepository.Add(new Votes
|
|
|
|
await _voteRepository.Add(new Votes
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Date = DateTime.UtcNow,
|
|
|
|
Date = DateTime.UtcNow,
|
|
|
|