source: src/FinkiChattery/FinkiChattery.Commands/Questioning/VoteAnswer/AnswerVotedEvent.cs@ fcc3080

dev
Last change on this file since fcc3080 was fcc3080, checked in by Стојков Марко <mst@…>, 3 years ago

Fixed bug when voting an answer

  • Property mode set to 100644
File size: 760 bytes
Line 
1using FinkiChattery.Common.Mediator.Contracs;
2using FinkiChattery.Persistence.Helpers;
3using System;
4
5namespace FinkiChattery.Commands.Questioning
6{
7 public class AnswerVotedEvent : IEvent
8 {
9 public AnswerVotedEvent(Guid questionUid, Guid answerUid, Guid studentUid, VoteType voteType, bool voteAlreadyExists)
10 {
11 QuestionUid = questionUid;
12 AnswerUid = answerUid;
13 StudentUid = studentUid;
14 VoteType = voteType;
15 VoteAlreadyExists = voteAlreadyExists;
16 }
17
18 public Guid QuestionUid { get; }
19 public Guid AnswerUid { get; }
20 public Guid StudentUid { get; }
21 public VoteType VoteType { get; }
22 public bool VoteAlreadyExists { get; }
23 }
24}
Note: See TracBrowser for help on using the repository browser.