public busQuestion UpdateQuestion(busQuestion abusQuestion) { ibusRestService = new busRestService(); modularUrl = modularUrl + "/questions/"; modularUrl = modularUrl + abusQuestion.idoQuestion.questionId; return(ibusRestService.Post <busQuestion>(modularUrl, abusQuestion)); }
public void UpdateQuestion(busQuestion abusQuestion, int aintUserId) { abusQuestion.idoQuestion.iintUserId = aintUserId; this.UpdateQuestion(abusQuestion); }
public busQuestion InsertQuestion(busQuestion abusQuestion) { ibusRestService = new busRestService(); modularUrl = modularUrl + "/questions"; return(ibusRestService.Post <busQuestion>(modularUrl, abusQuestion)); }