/// <summary> /// to get all saved questions from the repository layer /// </summary> /// <returns>asynchronous list of business Question</returns> public async Task <List <Question> > GetQuestions(string checklistType) { try { return(await _checkListRepository.GetQuestionsOfChecklistType(checklistType)); } catch (Exception ex) { _logger.Log(ex, LogLevel.Error, ex.Message); return(new List <Question>()); } }