Exemplo n.º 1
0
        public void TurnTheCurrentQuestionUpForAnswerWhenTheUserWhoGetTheMeetingIsNotTheFacilitator()
        {
            Guid         facilitatorId = Guid.NewGuid();
            MeetingModel meetingModel  = meetingAppService.CreateMeeting(facilitatorId);

            meetingAppService.EnableAnswersOfTheCurrentQuestion(meetingModel.Id, facilitatorId);

            meetingModel = meetingAppService.GetMeeting(meetingModel.Id, facilitatorId);

            AssertThatTheCurrentQuestionIsUpForAnswer(meetingModel);
        }
Exemplo n.º 2
0
        public IActionResult EnableAnswersOfTheCurrentQuestion(Guid meetingId, Guid userId)
        {
            meetingAppService.EnableAnswersOfTheCurrentQuestion(meetingId, userId);

            return(Ok());
        }