public List <CardDTO> GetCardsByCourse(string courseLink) { List <Card> cards = quiz.GetCardsByCourse(courseLink).ToList(); return(converterToDTO.ConvertToCardListDTO(cards)); }