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); }
public IActionResult Get(Guid meetingId, Guid userId) { try { MeetingModel meeting = meetingAppService.GetMeeting(meetingId, userId); return(Ok(meeting)); } catch (NonExistentMeetingException) { return(BadRequest()); } }