public bool GetAllQuestionsById(ref DataTable dt, int UserId) { QuestAnsDAL QuestDAL = new QuestAnsDAL(); if (QuestDAL.GetAllQuestionsById(ref dt,UserId)) { return true; } else { return false; } }