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