コード例 #1
0
        public List <QuestionOptions> DeleteQuestionOption(int QuestionId, int OptionId)
        {
            QuestionRepo repo   = new QuestionRepo();
            bool         result = repo.DeleteQuestionOption(QuestionId, OptionId);

            if (result)
            {
                return(repo.LoadQuestionOptions(QuestionId));
            }
            else
            {
                return(null);
            }
        }