public void ShouldGetResultByChapterNameAndNumberOfQuestions()
        {
            var result = sut.GetNumberOfQuestionsByChapter("Rights and Responsibilities of Citizenship", 5);

            Assert.That(result.Data.Count(), Is.EqualTo(5));
        }
 public IResult <IEnumerable <QuestionAnswers> > GetNumberOfQuestionsByChapter(string chapterName, int numberOfQuestions)
 {
     return(_repository.GetNumberOfQuestionsByChapter(chapterName, numberOfQuestions));
 }