Example #1
0
 public bool GetAnswers(ref DataTable dt,QuestAnsBE Ans)
 {
     QuestAnsDAL AnsDAL=new QuestAnsDAL();
     if (AnsDAL.GetAnswers(ref dt, Ans))
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Example #2
0
       public bool GetAllQuestionsById(ref DataTable dt, int UserId)
       {
           QuestAnsDAL QuestDAL = new QuestAnsDAL();

           if (QuestDAL.GetAllQuestionsById(ref dt,UserId))
           {
               return true;
           }
           else
           {
               return false;
           }
       }
Example #3
0
       public bool AddQuestion(QuestAnsBE QuestBE)
       {
           QuestAnsDAL QuestDAL = new QuestAnsDAL();

           if (QuestDAL.AddQuestion(QuestBE))
           {
               return true;
           }
           else
           {
               return false;
           }
       }
Example #4
0
       public bool GetQuestion(ref DataTable dt , QuestAnsBE Quest)
       {
           QuestAnsDAL QuestDAL = new QuestAnsDAL();

           if (QuestDAL.GetQuestion(ref dt , Quest))
           {
               return true;
           }
           else
           {
               return false;
           }
       }
Example #5
0
 public bool ViewKO(int KOId, ref DataTable dt)
 {
     QuestAnsDAL KODAL = new QuestAnsDAL();
     if (KODAL.ViewKO(KOId, ref dt))
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Example #6
0
 public bool SearchKO(ref DataTable dt, QuestAnsBE Quest)
 {
     QuestAnsDAL QuestDAL = new QuestAnsDAL();
     if (QuestDAL.SearchKO(ref dt, Quest))
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Example #7
0
 public bool AddKO(QuestAnsBE KO)
 {
     QuestAnsDAL KODAL = new QuestAnsDAL();
     if (KODAL.AddKO(KO))
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Example #8
0
 public bool GetAllStudyStream(ref DataTable dt)
 {
     QuestAnsDAL QuestDAL = new QuestAnsDAL();
     if (QuestDAL.GetAllStudyStream(ref dt))
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Example #9
0
 public bool UnResolved(ref DataTable dt)
 {
     QuestAnsDAL QuestDAL = new QuestAnsDAL();
     if (QuestDAL.UnResolved(ref dt))
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Example #10
0
       public bool GetAllInterestingWL(ref DataTable dt)         //AM???
       {
           QuestAnsDAL QueryDAL = new QuestAnsDAL();

           if (QueryDAL.GetAllInterestingWL(ref dt))
           {
               return true;
           }
           else
           {
               return false;
           }
       }
Example #11
0
       public bool GetRecentDataWL(ref DataTable dt)
       {
           QuestAnsDAL QueryDAL = new QuestAnsDAL();

           if (QueryDAL.GetRecentDataWL(ref dt))
           {
               return true;
           }
           else
           {
               return false;
           }
       }
Example #12
0
       public bool GetAlleBooksWL(ref DataTable dt)
       {
           QuestAnsDAL QuestDAL = new QuestAnsDAL();

           if (QuestDAL.GetAlleBooksWL(ref dt))
           {
               return true;
           }
           else
           {
               return false;
           }
       }
Example #13
0
 public bool AddView(int LastModifiedBy, int QId)   //am??
 {
     QuestAnsDAL AnsDAL = new QuestAnsDAL();
     if (AnsDAL.AddView(LastModifiedBy, QId))     //am???
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Example #14
0
 public bool AddDisLike(QuestAnsBE Ans)
 {
     QuestAnsDAL AnsDAL = new QuestAnsDAL();
     if (AnsDAL.AddDisLike(Ans))
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Example #15
0
 public bool SaveAnswerOfKO(QuestAnsBE Ans)            //am??
 {
     QuestAnsDAL AnsDAL = new QuestAnsDAL();
     if (AnsDAL.SaveAnswerOfKO(Ans))
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Example #16
0
       public bool GetAllSuggestions(ref DataTable dt)
       {
           QuestAnsDAL QueryDAL = new QuestAnsDAL();

           if (QueryDAL.GetAllSuggestions(ref dt))
           {
               return true;
           }
           else
           {
               return false;
           }
       }
Example #17
0
 public bool SaveAnswer(QuestAnsBE Ans)
 {
     QuestAnsDAL AnsDAL = new QuestAnsDAL();
     if (AnsDAL.SaveAnswer(Ans))
     {
         return true;
     }
     else
     {
         return false;
     }
 }