Exemple #1
0
        public Task <RigOapChecklistQuestionNoAnswerComment> Handle(GetFirstQuestionOpenNoAnswersRequest request, CancellationToken cancellationToken)
        {
            var result = service.GetOpenNoAnswers(request.OapChecklistId, request.OapChecklistQuestionId).FirstOrDefault();

            return(Task.FromResult(result));
        }
Exemple #2
0
        public Task <IEnumerable <RigOapChecklistQuestionNoAnswerComment> > Handle(GetAllQuestionOpenNoAnswersRequest request, CancellationToken cancellationToken)
        {
            var result = service.GetOpenNoAnswers(request.OapChecklistId, request.OapChecklistQuestionId);

            return(Task.FromResult(result));
        }