예제 #1
0
        public busFeedback InsertFeedback(busFeedback abusFeedback)
        {
            ibusRestService = new busRestService();
            modularUrl      = modularUrl + "/feedbacks";

            return(ibusRestService.Post <busFeedback>(modularUrl, abusFeedback));
        }
예제 #2
0
        public busClass UpdateFeedback(busFeedback abusFeedback)
        {
            ibusRestService = new busRestService();
            modularUrl      = modularUrl + "/feedbacks/";
            modularUrl      = modularUrl + abusFeedback.idoFeedback.feedbackId;

            return(ibusRestService.Post <busClass>(modularUrl, abusFeedback));
        }
예제 #3
0
        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));
        }