Beispiel #1
0
        //Add and Update Question

        public Question AddandUpdateQuestion(Question question)
        {
            Question questionAppeal = new Question();


            if (question.Id == 0)
            {
                questionAppeal = _Question.AddData(question);
            }
            else
            {
                questionAppeal = _Question.UpdateData(question);
            }

            return(questionAppeal);
        }