public static int UpvoteQuestion()
 {
     if (userid != -1)
     {
         QuestionBL wQuestionBl = new QuestionBL();
         wQuestionBl.UpvoteQuestion(Questionid);
         return(1);
     }
     else
     {
         return(0);
     }
 }
Exemplo n.º 2
0
 public int UpvoteQuestion()
 {
     questionbl = new QuestionBL();
     return(questionbl.UpvoteQuestion(1));
 }