public static int DownvoteAnswer(int answerid)
 {
     if (userid != -1)
     {
         AnswerBL wQuestionBl = new AnswerBL();
         wQuestionBl.DownvoteAnswer(answerid);
         return(1);
     }
     else
     {
         return(0);
     }
 }
Example #2
0
 public int DownvoteAnswer(int AnswerId)
 {
     answerbl = new AnswerBL();
     return(answerbl.DownvoteAnswer(AnswerId));
 }