public string AddQuestionToTest(DTO.TestQuestions DtoTestQuestion) { DAO.Test _Test = m_TestManagement.GetTest(DtoTestQuestion.TestId); DAO.Question _Question = m_QuestionManagement.GetQuestion(DtoTestQuestion.QuestionId); if (_Test != null && _Question != null) { m_TestManagement.AddQuestion(_Test, _Question); } return(string.Empty); }
public string RemoveQuesion(DTO.TestQuestions DtoTestQuestion) { m_TestManagement.RemoveQuestion(DtoTestQuestion.TestId, DtoTestQuestion.QuestionId); return(string.Empty); }