public busFeedback InsertFeedback(busFeedback abusFeedback) { ibusRestService = new busRestService(); modularUrl = modularUrl + "/feedbacks"; return(ibusRestService.Post <busFeedback>(modularUrl, abusFeedback)); }
public busClass UpdateFeedback(busFeedback abusFeedback) { ibusRestService = new busRestService(); modularUrl = modularUrl + "/feedbacks/"; modularUrl = modularUrl + abusFeedback.idoFeedback.feedbackId; return(ibusRestService.Post <busClass>(modularUrl, abusFeedback)); }
public busFeedback InsertFeedback(string astrFeedback, int aintUserId = 0) { ibusRestService = new busRestService(); modularUrl = modularUrl + "/feedbacks"; busFeedback lbusFeedback = new busFeedback() { idoFeedback = new doFeedback() }; lbusFeedback.idoFeedback.userId = aintUserId; lbusFeedback.idoFeedback.feedback = astrFeedback; lbusFeedback.idoFeedback.iintUserId = aintUserId; return(ibusRestService.Post <busFeedback>(modularUrl, lbusFeedback)); }