Esempio n. 1
0
        public ActionResult EditReview(int ID, string review, string vote = "upvote")
        {
            var response = screenShareManager.EditReview(ID, review, vote);

            if (response.IsSuccess)
            {
                return(Json(new { IsSuccess = true }));
            }
            else
            {
                return(Json(new { IsSuccess = false, Error = response.Explanation }));
            }
        }